Menu
Urgent
React2Shell security update

TYPESCRIPT_CONFIGURATION

Last updated March 4, 2025

Conformance is available on Enterprise plans

Using TypeScript in a workspace requires a few items to be set up correctly:

  • There should be a file at the root of the workspace.
  • The should extend from the repo's shared file.
  • The file should specify a to speed up incremental compilation.
  • The file should have certain compiler options set for improved type safety.
  • The workspace should have a command that runs the TypeScript compiler to check for type issues.

These changes will ensure that the TypeScript compiler picks up the right compiler settings for the project and that the TypeScript type checking will run when the command is run for the entire repository.

The shared should have at least the following defined:

For other configuration issues, the project's may need to be updated. Most files that don't require customization should look like:

Additionally, the project's file may need to be updated. A command needs to be added to the section:

The dependency on the repository's shared TypeScript must also exist:


Was this helpful?

supported.