-
Notifications
You must be signed in to change notification settings - Fork 85
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
Node compat: npm:
in export type ...
statement is not transpiled
#440
Comments
I don't quite understand the problem - can you send me your lock file that you got after the NPM install? In the tarball, all specifiers seem to be correctly transpiled: https://npm.jsr.io/~/8/@jsr/bergold__password-middleware/1.0.1.tgz |
Thank you for your quick response! You can find the problematic file in the tarball you linked at Somehow my TypeScript compiler uses the |
In the latest revision of the tarballs (https://npm.jsr.io/~/8/@jsr/bergold__password-middleware/1.0.1.tgz) the output is now fixed so that TypeScript uses the |
Thank you a lot. I can confirm, type checking is working again for me |
Can this be closed? |
In my package I have a
deps.ts
file which re-exports some stuff. One of those is the following line:(source)
The NPM compat bundle includes transpiled
deps.js
anddeps.d.ts
files, where this statement is correctly transpiled (or stripped in the case of the deps.js file)But, in the
deps.ts
file this line is NOT transpiled. All other exports are correctly transpiled though. So, maybe it's related to thetype
keyword in there.For reference this is the package: GitHub JSR
Maybe related #367, #377
The text was updated successfully, but these errors were encountered: