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

provide option for disabling .d.mts extension #28

Open
danielroe opened this issue Feb 23, 2022 · 1 comment
Open

provide option for disabling .d.mts extension #28

danielroe opened this issue Feb 23, 2022 · 1 comment

Comments

@danielroe
Copy link
Member

These are experimental at the moment and without widespread support.

https://www.typescriptlang.org/docs/handbook/esm-node.html#new-file-extensions

follow up on #26

@pi0
Copy link
Member

pi0 commented Jul 18, 2023

We have declaration: boolean option and #162 that generates .d.mts / .d.cts for .mts and .cts sources by default.

Does it makes sense that we introduce an option for default declaration ext (declarationExt) defaulting to .d.ts and being configurable?

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

No branches or pull requests

2 participants