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

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -