TypeScript · Projects

composite

Enable constraints that allow a TypeScript project to be used with project references.

Syntax
"composite": true

Example

Example
{
  "compilerOptions": {
    "composite": true
  }
}

More in this group

disableReferencedProjectLoad disableSolutionSearching disableSourceOfProjectReferenceRedirect incremental tsBuildInfoFile

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course