From 1fa10f5c49f0625cb96f458dc0bc4f93967bf614 Mon Sep 17 00:00:00 2001 From: Shadi Abu Hilal Date: Tue, 23 Jan 2024 23:30:20 -0800 Subject: [PATCH] fix: fix exports types in package.json (#2) Co-authored-by: Shadi Abu Hilal --- package.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 9f01ceb..bf6b293 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,11 @@ "types": "types/index.d.ts", "type": "module", "exports": { - "import": "./index.js", - "require": "./index.cjs" + ".": { + "import": "./index.js", + "require": "./index.cjs", + "types": "./types/index.d.ts" + } }, "scripts": { "lint": "eslint .",