Bug Report
🔎 Search Terms
🕗 Version & Regression Information
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about
init.
⏯ Playground Link
(Issue is with tsc --init so I'm no sure playground / bench is relevant here)
💻 Code
# the following generates `help: true` in `compilerOptions`
tsc --init --help
# while this works fine:
tsc --init --watch
🙁 Actual behavior
tsconfig.json is generated with { compilerOptions: { help: true } }.
🙂 Expected behavior
--help is ignored, exactly like --watch or -w.
Bug Report
🔎 Search Terms
init--init--help🕗 Version & Regression Information
init.⏯ Playground Link
(Issue is with
tsc --initso I'm no sure playground / bench is relevant here)💻 Code
🙁 Actual behavior
tsconfig.jsonis generated with{ compilerOptions: { help: true } }.🙂 Expected behavior
--helpis ignored, exactly like--watchor-w.