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: 支持 isolatedDeclarations #770

Open
sorrycc opened this issue Aug 1, 2024 · 0 comments
Open

feat: 支持 isolatedDeclarations #770

sorrycc opened this issue Aug 1, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@sorrycc
Copy link
Member

sorrycc commented Aug 1, 2024

What problem does this feature solve?

背景是 dts 慢,TypeScript 最新的 isolatedDeclarations 可以解这个问题,更多约束和报错,然后把 dts 的生成交给社区库,比如 swc 。

Possible Solution (optional)

如果 tsconfig.json 里有配 isolatedDeclarations,则走这套方案。

@sorrycc sorrycc added the enhancement New feature or request label Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant