Add "types" field to fix error when using "moduleResolution": "NodeNext" (#1369)
* Add "types" field to fix error when using "moduleResolution": "NodeNext". * Add changeset.
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
"typings": "dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"import": "./dist/types.js",
|
||||
"require": "./dist/types.umd.cjs"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user