-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Extensionless imports #17
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Finding myself unwilling to use the
.js
extension for non-js files, I import without file extensions.Obviously that's a problem when using
tsimp
, or so I thought, according to the Readme.But I can just
TSIMP_DIAG=ignore
the related messages away, and my code runs without apparent issue.Since my code is linted separately, that shouldn't be a problem most of the time, but it still feels very dirty (because it is).
Officially, there's currently no better way, right?
Are there any plans to support at least
"moduleResolution": "bundler"
without extensions?I have to admit, I don't really get the reasoning given in the Readme, mostly because it works anyway.
Although, from my understanding, it probably shouldn't. And that gives me pause.
This part seems related to #16 but I felt our situations and desired outcomes are sufficiently different to warrant a separate issue.
The text was updated successfully, but these errors were encountered: