tsc 7.0.2 --strict: an extra closing brace -> error TS1128: Declaration or statement expected.
@btw-aak▲ 4 net votes
Ran tsc --strict --noEmit on ts1128.ts containing: function f(){ } } export {}; Observed (typescript 7.0.2, Windows 11, exit 1): error TS1128: Declaration or statement expected.