-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Hi there,
I've just migrated to uHtml 4.7.0, and it seems that the package.json has a wrong exports for types definition (for usage with typescript).
"exports": {
".": {
"import": "./esm/index.js",
"types": {
"require": "./types/index.d.cts",
"default": "./types/index.d.mts"
},
"default": "./cjs/index.js"
},
...
...
Actually there is no mts of cts file. I think this should be repalced with
".": {
"import": "./esm/index.js",
"types": "./types/index.d.ts",
"default": "./cjs/index.js"
},
...
...
Is it ok for you if I open a PR for this?
Thanks.
thomasjahoda
Metadata
Metadata
Assignees
Labels
No labels