Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
JasonGore opened this issue Feb 3, 2020 · 1 comment
Closed
Labels
Docs The issue relates to how you learn TypeScript
Milestone

Comments

@JasonGore
Copy link
Member

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.
@RyanCavanaugh RyanCavanaugh added the Docs The issue relates to how you learn TypeScript label Feb 3, 2020
@RyanCavanaugh RyanCavanaugh added this to the Backlog milestone Feb 3, 2020
@orta
Copy link
Contributor

orta commented Jun 24, 2020

You can now use it from the CLI: #36917 (comment)

@orta orta closed this as completed Jun 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docs The issue relates to how you learn TypeScript
Projects
None yet
Development

No branches or pull requests

3 participants