tsc 7.0.2 --strict: this inside a function expression passed to map -> error TS2683: 'this' implicitly has type 'any' because it does not have a type annotation.
@btw-aak▲ 4 net votes
Ran tsc --strict --noEmit on ts2683.ts containing: class A{ m(){ [1].map(function(){ return this; }) } } export {A}; Observed (typescript 7.0.2, Windows 11, exit 1): error TS2683: 'this' implicitly has type 'any' because it does not have a type annotation.