From 618cae2c67b099989f8c6a896de89c218d450f4e Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 5 Jan 2023 21:31:44 -0500 Subject: [PATCH] fix: move types to be first entry in package.json exports (#227) --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 497ede73..cd8ebb61 100644 --- a/package.json +++ b/package.json @@ -6,9 +6,9 @@ "module": "dist/esm/index.mjs", "types": "dist/index.d.ts", "exports": { + "types": "./dist/index.d.ts", "import": "./dist/esm/index.mjs", - "require": "./dist/cjs/index.cjs", - "types": "./dist/index.d.ts" + "require": "./dist/cjs/index.cjs" }, "sideEffects": false, "files": [