Skip to content

Commit 5da9af3

Browse files
authored
Merge pull request #94 from gorenburg/fix_types_export
fix: types export
2 parents ba92632 + c5e56d5 commit 5da9af3

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

package.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@editorjs/paragraph",
3-
"version": "2.11.6",
3+
"version": "2.11.7",
44
"keywords": [
55
"codex editor",
66
"paragraph",
@@ -17,8 +17,14 @@
1717
"module": "./dist/paragraph.mjs",
1818
"exports": {
1919
".": {
20-
"import": "./dist/paragraph.mjs",
21-
"require": "./dist/paragraph.umd.js"
20+
"import": {
21+
"types": "./dist/index.d.ts",
22+
"default": "./dist/paragraph.mjs"
23+
},
24+
"require": {
25+
"types": "./dist/index.d.ts",
26+
"default": "./dist/paragraph.umd.js"
27+
}
2228
}
2329
},
2430
"types": "./dist/index.d.ts",

0 commit comments

Comments
 (0)