TypeScript Compiler Options
--all — TypeScript CLI
Requests the expanded local option help, including categories and accepted values. This is especially useful when online documentation describes a newer compiler. It is not a request to enable all options. Baseline: TypeScript 5.8.3. Commands are run with the pinned local compiler in an isolated directory; omit file labels. CLI-only setting.
Formal Syntax & Structure
typescript syntaxtypescript
tsc --help --allParameters & Attributes
| Name | Type | Description |
|---|---|---|
| all | boolean | Optional command switch; omit to leave the command inactive. |
Working Example
Example Snippettypescript
// File: tsconfig.json (omit this label){ "compilerOptions": { "target": "ES2022", "module": "CommonJS", "strict": true, "types": [], "outDir": "dist" }, "files": [ "index.ts" ]}// File: index.ts (omit this label)export const count: number = 7;
// Run in a temporary project:// tsc --help --all