You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
When testing the typesVersions feature for @types/jquery, I get errors like:
The 'expect' rule threw an error in '/home/travis/build/leonard-thieu/DefinitelyTyped/types/jquery/ts3.1/JQueryStatic.d.ts':
TypeError: Cannot read property 'isDeclarationFile' of undefined
at walk (/home/travis/build/leonard-thieu/DefinitelyTyped/node_modules/dtslint/bin/rules/expectRule.js:93:20)
at applyWithFunction.ctx (/home/travis/build/leonard-thieu/DefinitelyTyped/node_modules/dtslint/bin/rules/expectRule.js:22:62)
at Rule.AbstractRule.applyWithFunction (/home/travis/build/leonard-thieu/DefinitelyTyped/node_modules/tslint/lib/language/rule/abstractRule.js:39:9)
at getFailures (/home/travis/build/leonard-thieu/DefinitelyTyped/node_modules/dtslint/bin/rules/expectRule.js:22:25)
at Rule.applyWithProgram (/home/travis/build/leonard-thieu/DefinitelyTyped/node_modules/dtslint/bin/rules/expectRule.js:24:29)
at Linter.applyRule (/home/travis/build/leonard-thieu/DefinitelyTyped/node_modules/tslint/lib/linter.js:194:29)
at /home/travis/build/leonard-thieu/DefinitelyTyped/node_modules/tslint/lib/linter.js:139:85
at Object.flatMap (/home/travis/build/leonard-thieu/DefinitelyTyped/node_modules/tslint/lib/utils.js:151:29)
at Linter.getAllFailures (/home/travis/build/leonard-thieu/DefinitelyTyped/node_modules/tslint/lib/linter.js:139:32)
at Linter.lint (/home/travis/build/leonard-thieu/DefinitelyTyped/node_modules/tslint/lib/linter.js:99:33)
The process I used was:
Create a package.json with the following contents:
Test branch leonard-thieu/DefinitelyTyped#18
When testing the typesVersions feature for
@types/jquery
, I get errors like:The process I used was:
package.json
with the following contents:ts3.1
directory and copy relevant files into there.ts3.1/index.d.ts
.baseUrl
andtypeRoots
ints3.1/tsconfig.json
to../../
.The text was updated successfully, but these errors were encountered: