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
I can run it through tsc 1.5.0-beta without any errors.
I doubt that!-) tsc tends to generate code even in the presence of non-fatal errors, but it does emit the error you mentioned. find is an ES6/2015 method, and tsc/tss default to target ES5, so there has to be an error. Adding --target es6 eliminates the error in both cases.
My mistake. I didn't realize that adding filenames to the tss command line overrode the default behavior of loading the tsconfig.json file. I used the --target ES6 parameter on the command line when testing tsc. At that point I had not yet read this on the typescript wiki:
When input files are specified on the command line, tsconfig.json files are ignored.
Given this file:
I can run it through
tsc
1.5.0-beta without any errors.However, when using typescript-tools sha 619d879 I see an error when I run the file through
tss
:The text was updated successfully, but these errors were encountered: