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 }}
Repository navigation
"const" was transformed to "var" when target is "esnext"Β #59877
You are using the compiler wrong. You're calling the compiler by passing a list of filenames, in which case your local tsconfig.json is not being used and the compiler uses the default values for the compiler options.
If you call the compiler correctly, your code would not even compiler due to two errors:
force is not a valid value for your tsconfig.json, it can only be used on the CLI together with --build.
const cilBlurLinear : string [ ] = [ , ] is not valid with strictNullChecks enabled, because [,] contains undefined.
You are using the compiler wrong. You're calling the compiler by passing a list of filenames, in which case your local tsconfig.json is not being used and the compiler uses the default values for the compiler options.
If you call the compiler correctly, your code would not even compiler due to two errors:
force is not a valid value for your tsconfig.json, it can only be used on the CLI together with --build.
const cilBlurLinear : string [ ] = [ , ] is not valid with strictNullChecks enabled, because [,] contains undefined.
Okay, I understand. I will modify the way I run the program.
Activity
MartinJohns commentedon Sep 6, 2024
You are using the compiler wrong. You're calling the compiler by passing a list of filenames, in which case your local
tsconfig.jsonis not being used and the compiler uses the default values for the compiler options.If you call the compiler correctly, your code would not even compiler due to two errors:
forceis not a valid value for yourtsconfig.json, it can only be used on the CLI together with--build.const cilBlurLinear : string [ ] = [ , ]is not valid withstrictNullChecksenabled, because[,]containsundefined.Roise-yue commentedon Sep 6, 2024
Okay, I understand. I will modify the way I run the program.
RyanCavanaugh commentedon Sep 6, 2024
We still shouldn't emit
var;in ES5 though