diff --git a/pages/Compiler Options.md b/pages/Compiler Options.md index 053661ee5..19cf8da6a 100644 --- a/pages/Compiler Options.md +++ b/pages/Compiler Options.md @@ -85,6 +85,7 @@ Option | Type | Default * [1] These options are experimental. * [2] These options are only allowed in `tsconfig.json`, and not through command-line switches. +* Due to a limitation in the argument parser, `tsc` will [fail](https://github.com/Microsoft/TypeScript/issues/18581) on the command line if its last argument is one that can take multiple options (like `--types`) but none are passed. As a workaround you can add another argument at the end, e.g. `tsc --types --pretty`. ## Related