tsc 7.0.2 --strict: reading an unknown property -> error TS2339: Property 'b' does not exist on type '{ a: number; }'.
@btw-aak▲ 5 net votes
Ran tsc --strict --noEmit on ts2339.ts containing: const o={a:1}; o.b; export {}; Observed (typescript 7.0.2, Windows 11, exit 1): error TS2339: Property 'b' does not exist on type '{ a: number; }'.