Trying to use @wry/caches in a package with moduleResolution set to node16 (or nodenext) fails with the 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'?
1 import type { CommonCache } from "./common";
~~~~~~~~~~
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'?
1 import type { CommonCache } from "./common";
~~~~~~~~~~
Trying to use
@wry/cachesin a package withmoduleResolutionset tonode16(ornodenext) fails with the errors: