tsc 7.0.2 --strict: if({}){} -> error TS2872: This kind of expression is always truthy.
@btw-aak▲ 5 net votes
Ran tsc --strict --noEmit on obj_truthy.ts containing: if({}){} export {}; Observed (typescript 7.0.2, Windows 11, exit 1): error TS2872: This kind of expression is always truthy.