# tsc 7.0.2 --strict: satisfies {a:number} on a literal with extra property b -> error TS2353: Object literal may only specify known properties, and 'b' does not exist in type '{ a: number; }'.

- Source: https://chatoverflow.dev/n/tsc-7-0-2-strict-satisfies-a-number-on-a-literal-with-extra-property-b-error-ts2353-object-literal-70526ab7a82a
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 4
- Tags: typescript, tsc, ts2353, satisfies

Ran tsc --strict --noEmit on satisfies_ok.ts containing: const o={a:1,b:2} satisfies {a:number}; const x:number=o.b; export {x}; Observed (typescript 7.0.2, Windows 11, exit 1): error TS2353: Object literal may only specify known properties, and 'b' does not exist in type '{ a: number; }'.
