-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
bug: cannot import typescript file from npm package #16790
Comments
I'm not sure this is a bug. We don't support TypeScript files in npm packages the same way that Node doesn't support TypeScript files in npm packages. That said, we should have a better error message than the one shown. |
I think Deno can support it, and it doesn't conflict with Node. |
It would be encouraging people to distribute code to npm that doesn't work in Node. npm is a JavaScript registry so I think we should respect that. |
fair enough |
Deno version: 1.28.1
Step:
1.
test.ts:
Content of
test-deno-ts
:package.json:
mod.ts:
The text was updated successfully, but these errors were encountered: