Skip to content

Skip type checking project reference redirect(declaration file from project reference) to improve perf #28260

Open
@sheetalkamat

Description

@sheetalkamat

Search Terms

Suggestion

We could probably set internal option and skip type checking project reference redirects (included .d.ts files from project reference output)
This could speed up tsc --b mode by skipping type checking generated files, (eg. skip compiler.d.ts when building tsc project and so on...) Since in build mode referencing projects are not built if there are any errors in the referenced project this should report all errors.

Use Cases

Examples

Checklist

My suggestion meets these guidelines:

  • This wouldn't be a breaking change in existing TypeScript / JavaScript code
  • This wouldn't change the runtime behavior of existing JavaScript code
  • This could be implemented without emitting different JS based on the types of the expressions
  • This isn't a runtime feature (e.g. new expression-level syntax)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions