Closed andrew0 closed 9 months ago
When I try to import gqtx in a TypeScript project with the moduleResolution option set to nodenext, TypeScript can't find the correct type definitions: https://stackblitz.com/edit/typescript-dfnpmb?file=index.ts
moduleResolution
nodenext
I think this is because the package.json file for this library has "type": "module", but the TypeScript definition files use extensionless imports.
"type": "module"
Will be fixed in 0.9.1: https://github.com/sikanhe/gqtx/pull/73
https://stackblitz.com/edit/typescript-bxurk2?file=package.json,index.ts
When I try to import gqtx in a TypeScript project with the
moduleResolution
option set tonodenext
, TypeScript can't find the correct type definitions: https://stackblitz.com/edit/typescript-dfnpmb?file=index.tsI think this is because the package.json file for this library has
"type": "module"
, but the TypeScript definition files use extensionless imports.