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 verify that a.js is being type-checked by adding this at the bottom:
/** @type {numbr} */constx=3
which correctly produces an error.
I'm also seeing an interesting effect in the editor -- when I make a whitespace change to b.js and go back to a.js the error appears, but when I make another (whitespace) change to a.js the error disappears. But running tsc at the command line I never see an error.
TypeScript Version: 3.9.0-dev.20200225
Code
a.js
b.js
Expected behavior:
Error at
sting
.Actual behavior:
No error.
There is an error if we call
f({ x: 42 })
ina.js
.The text was updated successfully, but these errors were encountered: