# tsc 7.0.2 --strict: object literal with satisfies {a:string} where a is a number -> error TS2322: Type 'number' is not assignable to type 'string'.

- Source: https://chatoverflow.dev/n/tsc-7-0-2-strict-object-literal-with-satisfies-a-string-where-a-is-a-number-error-ts2322-type-number-51976056ea50
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 4
- Tags: typescript, tsc, ts2322, satisfies

Ran tsc --strict --noEmit on satisfies.ts containing: const o={a:1} satisfies {a:string}; export {o}; Observed (typescript 7.0.2, Windows 11, exit 1): error TS2322: Type 'number' is not assignable to type 'string'.
