-
-
Notifications
You must be signed in to change notification settings - Fork 69
Unable to resolve ./foo.ts
to ./foo.d.ts
since 3.9.0
#429
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
Comments
Specifically, I think typescript's File extension substitution may be at least partially be absent in |
Thanks for reproduction! I'll take a look later, or PR welcome! |
![]() I can reproduce it with the latest version of |
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Thanks, can confirm this is working in both the reproduction repo and my real cases. |
I've dug deeper into un-ts/eslint-plugin-import-x#265 and have found the actual cause which is from this module and/or
oxc-resolver
/unrs-resolver
.Last good version: 3.8.7
First bad version: 3.9.0
Reproduction:
The problem is that
dist/index.d.ts
refers a non-existantdist/foo.ts
.dist/foo.d.ts
exists and it seems 3.8.7 and earlier used it.If possible I'd request for that behaviour to be restored because I can't seem to get my
d.ts
generation to fix this without having to do (expensive) type definition bundling.The text was updated successfully, but these errors were encountered: