How can i compile a file containing different libraries (e.g. jquery, jquery-ui, other 3rd party libs) with typescript -


i working on project contains multiple libraries (jquery, jq-ui, fileupload plugins , other 3rd party plugins) converting project typescript in order work libraries need .d.ts file include in project when compile plugins.ts (just rename .js .ts) give me bunch of errors , generate .js file no .d.ts file , cannot compile other files need include reference of plugin file

is there kind of -force type flag in tsc or way compile file.

i use command compile ts file tsc --declaration bmkjqplugins.ts

is there kind of -force type flag in tsc or way compile file.

no. need reference files complete type safety. said : typescript will generate valid javascript in presence of typeonly errors.

note: grunt-ts support not failing on type errors : https://github.com/typestrong/grunt-ts#grunt-ts-gruntfilejs-options


Comments

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -