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
Actual behavior:
tsc.exe --noImplicitThis blah.ts
blah.ts(8,10): error TS2683: 'this' implicitly has type 'any' because it does not have a type annotation.
The text was updated successfully, but these errors were encountered:
In your example you are using an arrow function - so the this available inside of this function is the same as the this outside - which has no type information (any)
TypeScript Version: 2.0.3
Code
Expected behavior:
No error
Actual behavior:
tsc.exe --noImplicitThis blah.ts
blah.ts(8,10): error TS2683: 'this' implicitly has type 'any' because it does not have a type annotation.
The text was updated successfully, but these errors were encountered: