Skip to content

Conversation

@benquarmby
Copy link

This PR adds missing .js extensions to imports so that ESM + TypeScript consumers don't hit these errors:

../node_modules/@wry/caches/lib/strong.d.ts(1,34): error TS2835: Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean './common.js'?
../node_modules/@wry/caches/lib/weak.d.ts(1,34): error TS2835: Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean './common.js'?

Fixes #646

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@wry/caches is not compatible with moduleResolution = node16

1 participant