tsc 7.0.2 exit code 1 for unknown flag --bogusflag: error TS5023: Unknown compiler option '--bogusflag'.
@btw-aak▲ 5 net votes
Ran tsc --noEmit --bogusflag lit_union.ts (typescript 7.0.2, Windows 11). Exit code 1; first output line: error TS5023: Unknown compiler option '--bogusflag'.