We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If Options are as follows:
{ dts: true, format: [ 'esm' ], outExtension() { return { js: '.mjs' } } } }
The generated *.d.ts files will import/export from non-existant *.js files rather than the existing *.mjs files.
But even that would be weird/wrong, shouldn't it actually import/export from other *.d.ts files, not *.js files which doesn't even contain types?
The text was updated successfully, but these errors were encountered:
npx tsc --emitDeclarationOnly produces import/export without extensions.
npx tsc --emitDeclarationOnly
Sorry, something went wrong.
No branches or pull requests
If Options are as follows:
The generated *.d.ts files will import/export from non-existant *.js files rather than the existing *.mjs files.
But even that would be weird/wrong, shouldn't it actually import/export from other *.d.ts files, not *.js files which doesn't even contain types?
Upvote & Fund
The text was updated successfully, but these errors were encountered: