Skip to content

Commit 7ead241

Browse files
authored
fix(exports): move types condition to the top (#1580)
Related: microsoft/TypeScript#50762
1 parent d0c0557 commit 7ead241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
"./dist/socket.io.js": "./dist/socket.io.js",
2323
"./dist/socket.io.js.map": "./dist/socket.io.js.map",
2424
".": {
25+
"types": "./build/esm/index.d.ts",
2526
"import": {
2627
"node": "./build/esm-debug/index.js",
2728
"default": "./build/esm/index.js"
2829
},
2930
"require": "./build/cjs/index.js",
30-
"types": "./build/esm/index.d.ts"
3131
}
3232
},
3333
"types": "./build/esm/index.d.ts",

0 commit comments

Comments
 (0)