You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. First of all, thank you for making a good library.
It would be nice to have the following features.
As a decision of the TypeScript team, import statements must import with the ".js" extension in ESM mode, and no extension in other modes. (microsoft/TypeScript#37582)
It seems that TypeScript 5.0 is considering importing with a .ts extension, but currently it gives a warning. (microsoft/TypeScript#51362)
Considering Deno, it should have the .ts extension, so I'd appreciate it if you'd consider the opt-out feature.
etc.
As described above, in tsc's ESM mode, it must be imported as .js. Would it be better to implement this feature?
If agree that the feature is needed, is it okay for me to participate in the implementation?
The text was updated successfully, but these errors were encountered:
hahnlee
changed the title
Typescript import strategy
TypeScript import strategy
Dec 8, 2022
Hello. First of all, thank you for making a good library.
It would be nice to have the following features.
As a decision of the TypeScript team, import statements must import with the ".js" extension in ESM mode, and no extension in other modes. (microsoft/TypeScript#37582)
It seems that TypeScript 5.0 is considering importing with a .ts extension, but currently it gives a warning. (microsoft/TypeScript#51362)
Considering Deno, it should have the .ts extension, so I'd appreciate it if you'd consider the opt-out feature.
etc.
The text was updated successfully, but these errors were encountered: