-
-
Notifications
You must be signed in to change notification settings - Fork 154
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
TypeScript resolution not working from JS files (even with allowJs
)
#135
Comments
Thanks for the reproduction. The Do you know if TypeScript supports that? BTW In |
Doh, missed that in my simplification. |
(no output) but if I rename
|
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
allowJs
)
Happy to accept a PR to address this. Basically, tsx should read the Locking thread to direct further dialogue in the form of PRs. |
🎉 This issue has been resolved in v4.7.3 If you appreciate this project, please consider supporting this project by sponsoring ❤️ 🙏 |
Bug description
tsx index.mts
to runindex.mts
importsfile.mjs
byimport x from "./file.mjs"
file.mjs
importsrootfile.mts
byimport x from "./rootfile.mjs"
I expect this to resolve
rootfile.mts
and work.Reproduction
https://stackblitz.com/edit/node-war8wy has the reproduction
Environment
Can you contribute a fix?
The text was updated successfully, but these errors were encountered: