compile errors in tsconfig.app.json, tsconfig.e2e.json, tsconfig.spec.json,

Upgraded to lastest webstorm today and now I am starting to get the TS compiler error in tsconfig.app.json, tsconfig.e2e.json, tsconfig.spec.json, Example...

File contents:

{
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/app",
"module": "es2015",
"baseUrl": "",
"types": []
},
"exclude": [
"test.ts",
"**/*.spec.ts"
]
}

Error:(2, 14) TS2695: Left side of comma operator is unused and has no side effects.
Error:(4, 15) TS2695: Left side of comma operator is unused and has no side effects.
Error:(5, 15) TS2695: Left side of comma operator is unused and has no side effects.
Error:(6, 16) TS2695: Left side of comma operator is unused and has no side effects.
Error:(2, 12) TS1005: ';' expected.
Error:(3, 20) TS1005: ';' expected.
Error:(4, 13) TS1005: ';' expected.
Error:(5, 13) TS1005: ';' expected.
Error:(6, 14) TS1005: ';' expected.
Error:(7, 12) TS1005: ';' expected.
Error:(8, 4) TS1128: Declaration or statement expected.
Error:(9, 12) TS1005: ';' expected.

0
6 comments

What TypeScript version do you use? Please attach a screenshot of your project TypeScript settings page (Settings | Languages & Frameworks | TypeScript)

0
{
"compileOnSave": false,
"compilerOptions": {
"outDir": "./dist/out-tsc",
"baseUrl": "src",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2016",
"dom"
]
}
}
0

Sorry..  Wrong thing.  This is what you wanted.

 

0

Does the issue persist if you change TypeScript version to 'bundled'?

0

I will check tonight when I get home.  Out of office.  Thanks!

0

That seems to have done it!  Thank you!

1

Please sign in to leave a comment.