Skip to content

TSC: --composite documented as CLI option but generates TS6064 error #36588

@JasonGore

Description

@JasonGore

TypeScript Version: 3.7.5, 3.8.0-dev.20200201

Search Terms:
TS6064 composite cli option

Code

  • npm install -g typescript
  • tsc --composite

Expected behavior:

No error since option is documented as a CLI option.

Actual behavior:

λ tsc --composite
error TS6064: Option 'composite' can only be specified in 'tsconfig.json' file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocsThe issue relates to how you learn TypeScript

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions