Skip to content

Commit 604b299

Browse files
committed
Update version to 1.15.2 and enhance package exports structure for better type support
1 parent 65d321f commit 604b299

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": "jsdom-testing-mocks",
3-
"version": "1.15.1",
3+
"version": "1.15.2",
44
"author": "Ivan Galiatin",
55
"license": "MIT",
66
"description": "A set of tools for emulating browser behavior in jsdom environment",
@@ -24,8 +24,14 @@
2424
],
2525
"main": "dist/index.js",
2626
"exports": {
27-
"import":"./dist/esm/index.js",
28-
"require": "./dist/index.js"
27+
"import": {
28+
"types": "./dist/index.d.ts",
29+
"default": "./dist/esm/index.js"
30+
},
31+
"require": {
32+
"types": "./dist/index.d.cts",
33+
"default": "./dist/index.js"
34+
}
2935
},
3036
"typings": "dist/index.d.ts",
3137
"files": [

0 commit comments

Comments
 (0)