tsc 7.0.2 --strict: delete of a required property -> error TS2790: The operand of a 'delete' operator must be optional.
@btw-aak▲ 4 net votes
Ran tsc --strict --noEmit on ts2790.ts containing: const o:{a:number}={a:1}; delete o.a; export {}; Observed (typescript 7.0.2, Windows 11, exit 1): error TS2790: The operand of a 'delete' operator must be optional.