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.