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

feat(compile), introduce --generate-types flag #9308

Merged
merged 5 commits into from
Nov 19, 2024

Conversation

davidfirst
Copy link
Member

@davidfirst davidfirst commented Nov 15, 2024

Currently, d.ts files are generated during build on the capsules only. Not in the workspace. Mainly due to performance issues. To generate d.ts files, typescript needs a wider context than a single file.
This flag introduces the ability to generate these d.ts file. In some cases they're needed even though it makes the compilation much slower.

The implementation of the typescript's end is done here: https://bit.cloud/teambit/typescript/~change-requests/generate-types-on-workspace

@davidfirst davidfirst merged commit 6c52e64 into master Nov 19, 2024
11 checks passed
@davidfirst davidfirst deleted the generate-types-workspace branch November 19, 2024 20:05
davidfirst added a commit that referenced this pull request Nov 20, 2024
The heavy lifting was done in #9308 . This PR is about adding the same
functionality for `bit watch`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants