mirror of
https://github.com/socketio/socket.io.git
synced 2026-01-10 23:48:02 -05:00
fix(exports): move types condition to the top (#1580)
Related: https://github.com/microsoft/TypeScript/issues/50762
This commit is contained in:
committed by
GitHub
parent
d0c0557c1b
commit
7ead241ecf
@@ -22,12 +22,12 @@
|
||||
"./dist/socket.io.js": "./dist/socket.io.js",
|
||||
"./dist/socket.io.js.map": "./dist/socket.io.js.map",
|
||||
".": {
|
||||
"types": "./build/esm/index.d.ts",
|
||||
"import": {
|
||||
"node": "./build/esm-debug/index.js",
|
||||
"default": "./build/esm/index.js"
|
||||
},
|
||||
"require": "./build/cjs/index.js",
|
||||
"types": "./build/esm/index.d.ts"
|
||||
}
|
||||
},
|
||||
"types": "./build/esm/index.d.ts",
|
||||
|
||||
Reference in New Issue
Block a user