Definitelytyped: confirmdialog depends on jquery but has a lower required TypeScript version.

Created on 23 Nov 2017  路  4Comments  路  Source: DefinitelyTyped/DefinitelyTyped

After run npm test localy i have that error

:DefinitelyTyped user$ npm test

[email protected] test /Users/yotti/nodejs/DefinitelyTyped
node node_modules/types-publisher/bin/tester/test.js --run-from-definitely-typed

**Error: confirmdialog depends on jquery but has a lower required TypeScript version.**
at checkTypeScriptVersions (/Users/yotti/nodejs/DefinitelyTyped/node_modules/types-publisher/src/check-parse-results.ts:59:11)
at Object. (/Users/yotti/nodejs/DefinitelyTyped/node_modules/types-publisher/src/check-parse-results.ts:17:2)
at Generator.next ()
at fulfilled (/Users/yotti/nodejs/DefinitelyTyped/node_modules/types-publisher/bin/check-parse-results.js:4:58)
at
npm ERR! Test failed. See above for more details.

i have Import jquery like so ///

Thanks

Most helpful comment

I figured out the issue. The file needs to have this line at the bottom of the header (and is case-sensitive, which was what was my issue):

// TypeScript Version: 2.3

All 4 comments

@allipierre did you ever resolve your issue? I have been getting the same error message for another package and I'm not sure how to resolve it.

I figured out the issue. The file needs to have this line at the bottom of the header (and is case-sensitive, which was what was my issue):

// TypeScript Version: 2.3

Yes i resolve it like so too

Just to sharpen @joeskeen's answer:
This needs to be added under the generated commented header of the index.d.ts file

// Type definitions for express-paginate 1.0
// Project: https://github.com/niftylettuce/express-paginate
// Definitions by: My Self <https://github.com/me>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.7
Was this page helpful?
0 / 5 - 0 ratings