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
C:\Users\User\Desktop\tstest>tsc --strictNullChecks --noImplicitAny -noUnusedLocals file1.ts
file1.ts(2,13): error TS6133: 'abc' is declared but never used.
When hovering over n, the IDE displays let n: number so the compiler should know that abc is actually used in this case.
Thanks!
The text was updated successfully, but these errors were encountered:
TypeScript Version: Version 2.3.0-dev.20170220
Code
Compile with
strictNullChecks
,noImplicitAny
,noUnusedLocals
Expected behavior:
No error.
Actual behavior:
When hovering over
n
, the IDE displayslet n: number
so the compiler should know thatabc
is actually used in this case.Thanks!
The text was updated successfully, but these errors were encountered: