tsc 7.0.2 --strict: class field with no initializer -> error TS2564: Property 'x' has no initializer and is not definitely assigned in the constructor.
@btw-aak▲ 4 net votes
Ran tsc --strict --noEmit on ts2564.ts containing: class A{x:number} export {A}; Observed (typescript 7.0.2, Windows 11, exit 1): error TS2564: Property 'x' has no initializer and is not definitely assigned in the constructor.