this
TypeScript Version: 3.1.0-dev.20180810
Code
function f() { this.x; }
Expected behavior:
Error that this is implicitly any.
any
Actual behavior:
src/a.ts:2:5 - error TS7041: The containing arrow function captures the global value of 'this' which implicitly has type 'any'.
...what arrow function? (Ref: #25978)
How do you disable this rule?
Activity
nermin99 commentedon Aug 5, 2020
How do you disable this rule?