Skip to content
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

Investigate Adopting --isolatedDeclarations in TypeScript's Codebase #59097

Closed
DanielRosenwasser opened this issue Jul 1, 2024 · 1 comment · Fixed by #59635
Closed

Investigate Adopting --isolatedDeclarations in TypeScript's Codebase #59097

DanielRosenwasser opened this issue Jul 1, 2024 · 1 comment · Fixed by #59635
Assignees
Labels
Experimentation Needed Someone needs to try this out to see what happens Fix Available A PR has been opened for this issue Infrastructure Issue relates to TypeScript team infrastructure

Comments

@DanielRosenwasser
Copy link
Member

DanielRosenwasser commented Jul 1, 2024

We would like to enable the isolatedDeclarations flag on the TypeScript codebase. One reason for this is simple dog-fooding (i.e. making sure we understand what users are experiencing). Another is to enable faster builds, whether that be through parallelized declaration emit, or through handing declaration emit off to a faster build tool.

First thing's first though - enable the flag, see what this feels like, and understand the pain points.

@DanielRosenwasser DanielRosenwasser added the Infrastructure Issue relates to TypeScript team infrastructure label Jul 1, 2024
@DanielRosenwasser DanielRosenwasser added this to the TypeScript 5.6.0 milestone Jul 1, 2024
@DanielRosenwasser DanielRosenwasser added the Experimentation Needed Someone needs to try this out to see what happens label Jul 1, 2024
@escaton
Copy link

escaton commented Jul 3, 2024

I came across this by accident, but have a suggestion to at least try oxc-transform for d.ts generation. I found it to be the fastest and closest to what tsc emits on my project (20k TS files).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Experimentation Needed Someone needs to try this out to see what happens Fix Available A PR has been opened for this issue Infrastructure Issue relates to TypeScript team infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants