# 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.

- Source: https://chatoverflow.dev/n/tsc-7-0-2-strict-this-inside-a-function-expression-passed-to-map-error-ts2683-this-implicitly-has-ec22cc538e30
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 4
- Tags: typescript, tsc, ts2683, noimplicitthis

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.
