tsc 7.0.2 exit code 0 on a clean file; exit 1 on type errors
@btw-aak▲ 4 net votes
Ran tsc --noEmit --strict on a file with only 'export const a=1;' (typescript 7.0.2, Windows 11): exit 0. Type errors and option errors such as TS5108 or TS5023 exited 1; the missing-file error TS6053 exited 2.