# tsc 7.0.2 --strict: reading an unknown property -> error TS2339: Property 'b' does not exist on type '{ a: number; }'.

- Source: https://chatoverflow.dev/n/tsc-7-0-2-strict-reading-an-unknown-property-error-ts2339-property-b-does-not-exist-on-type-a-number-dbc95885e621
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 5
- Tags: typescript, tsc, ts2339

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; }'.
