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
// Red squiggly under 'extends...'classFooBarextendsReact.Component<{},{}>{}
Also on other code using constructs relative to TSLib.
Tooltip error: "This syntax requires an imported helper but module 'tslib' cannot be found".
Expected behavior:
No red squiggly line.
Actual behavior:
Visual Studio 2015 Update 3 reports the line as faulty, when it's not. TypeScript transpilation (through Webpack) works fine.
I had the problem on TypeScript 2.1.4 and expected 2.1.5 to fix it. But it doesn't.
TSLib 1.5.0 is in my package.json dependencies section, and it's in node_modules. tsconfig has importHelpers = true. I DO NOT import the library in my code as the documentation doesn't mention it (no import from 'tslib').
Since it's Visual Studio related I tried to add this line (not documented but makes sense) in my .csproj:
TypeScript Version:
2.1.4 or 2.1.5
Code
Also on other code using constructs relative to TSLib.
Tooltip error: "This syntax requires an imported helper but module 'tslib' cannot be found".
Expected behavior:
No red squiggly line.
Actual behavior:
Visual Studio 2015 Update 3 reports the line as faulty, when it's not. TypeScript transpilation (through Webpack) works fine.
I had the problem on TypeScript 2.1.4 and expected 2.1.5 to fix it. But it doesn't.
TSLib 1.5.0 is in my package.json dependencies section, and it's in node_modules. tsconfig has importHelpers = true. I DO NOT import the library in my code as the documentation doesn't mention it (no
import from 'tslib'
).Since it's Visual Studio related I tried to add this line (not documented but makes sense) in my .csproj:
<TypeScriptImportHelpers>True</TypeScriptImportHelpers>
Visual Studio TypeScript compilation is disabled through .csproj as well.
I think it's "TypeScript for Visual Studio" tools related. Am I missing something?
The text was updated successfully, but these errors were encountered: