From 285e9d65ace11a4e1320e6286565bde843914b25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Sat, 29 Apr 2023 10:41:46 +0200 Subject: [PATCH] fix: move `types` condition to the front --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cd719ce3..ee8d33a4 100644 --- a/package.json +++ b/package.json @@ -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",