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
tried the nightly build and this is not the behavior I'm seeing: if I comment out import then indeed error did not appear, however I got error squiggles once I edit foo2.ts. Reason why this is happening - currently VSCode does not re-query diagnostics for file if file was not changed, We already have workitem to push notifications from the server in case if they should be updated on the editor side.
I believe this error is likely triggered by syntactic JSON error in tsconfig.json.
When you edit tsconfig.json with autosave enabled, intermediate edits result in syntactically incorrect JSON. And that crashes compiler. Not errors in TS files, but errors in TSCONFIG.
TypeScript Version: 2.0.3
VSCode: 1.6.1
Code
magic.d.ts
:foo.ts
:tsconfig.json
(standard tsconfig, with a files block referencing the above two files):Load this up into VSCode; everything's fine.
foo2.ts
:Red squigglies as expected, because it doesn't know about the global declaration.
foo.ts
to add:Errors are fixed.
Expected: error in foo2.ts reappears.
Actual: project is error clean until you restart the IDE.
The text was updated successfully, but these errors were encountered: