json-joy icon indicating copy to clipboard operation
json-joy copied to clipboard

Typings on the library do not reflect the expected usage

Open JCMais opened this issue 6 months ago • 0 comments

It just produces type errors, making usage with TS basically impossible:

Image

Also, if the plan is to fully support esm, a good alternative is to add the exports field to the package.json, exporting each individual module, and its types.

JCMais avatar Jun 18 '25 01:06 JCMais