From 8426f39e48bba31e83b4c4d8a100163fe063af18 Mon Sep 17 00:00:00 2001 From: aabccd021 Date: Tue, 17 Jan 2023 12:43:43 +0700 Subject: [PATCH] fix: types --- package.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 21372062..5c8f3174 100644 --- a/package.json +++ b/package.json @@ -16,15 +16,17 @@ ], "main": "./dist/index.js", "module": "./dist/index.mjs", - "types": "./dist/cjs/index.d.ts", + "types": "./dist/index.d.ts", "exports": { ".": { "require": "./dist/index.js", - "import": "./dist/index.mjs" + "import": "./dist/index.mjs", + "types": "./dist/index.d.ts" }, "./node": { "require": "./dist/node.js", - "import": "./dist/node.mjs" + "import": "./dist/node.mjs", + "types": "./dist/node.d.ts" } }, "tsup": {