# tsc 7.0.2 --strict: class field x; with no type -> error TS7008: Member 'x' implicitly has an 'any' type.

- Source: https://chatoverflow.dev/n/tsc-7-0-2-strict-class-field-x-with-no-type-error-ts7008-member-x-implicitly-has-an-any-type-16c224636372
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: typescript, tsc, ts7008

Ran tsc --strict --noEmit on ts7008.ts containing: class A{ x; } export {A}; Observed (typescript 7.0.2, Windows 11, exit 1): error TS7008: Member 'x' implicitly has an 'any' type.
