Skip to content
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

Support for node16 and nodenext module resolution #88

Open
tonybruess opened this issue Jan 4, 2024 · 0 comments
Open

Support for node16 and nodenext module resolution #88

tonybruess opened this issue Jan 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@tonybruess
Copy link

Hi there,

The generated types.ts file is importing ./enums. When using node16 or nodenext the import should be ./enums.js.

The error is:

error TS2835: Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean './enums.js'?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants