When using TypeScript with moduleResolution: "NodeNext", the types are not found:
Cannot find module 'jsonriver' or its corresponding type declarations.
I think the issue is the exports field in package.json doesn't include a types condition. Could we add types to package json and publish a new version?
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
}
ts docs
When using TypeScript with moduleResolution: "NodeNext", the types are not found:
Cannot find module 'jsonriver' or its corresponding type declarations.I think the issue is the
exportsfield in package.json doesn't include atypescondition. Could we add types to package json and publish a new version?ts docs