Skip to content

Commit 450ab0b

Browse files
committed
Make typescript happy again
1 parent d92f113 commit 450ab0b

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

package.json

+13-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "soketto-client",
3-
"version": "1.0.3-release",
3+
"version": "1.0.4-release",
44
"author": "Tufan Meriç Uyguner",
55
"license": "MIT",
66
"keywords": [],
@@ -11,9 +11,18 @@
1111
"typings": "lib/index.d.ts",
1212
"exports": {
1313
".": {
14-
"browser": "./dist/soketto-client.js",
15-
"import": "./build/esm/index.mjs",
16-
"require": "./build/cjs/index.js"
14+
"browser": {
15+
"default": "./dist/soketto-client.js",
16+
"types": "./dist/soketto-client.d.ts"
17+
},
18+
"import": {
19+
"default": "./build/esm/index.mjs",
20+
"types": "./lib/index.d.ts"
21+
},
22+
"require": {
23+
"default": "./build/cjs/index.js",
24+
"types": "./lib/index.d.ts"
25+
}
1726
},
1827
"./package.json": "./package.json"
1928
},

0 commit comments

Comments
 (0)