From 9bf4f29ea6a8c7143bf763dba580430dd903b640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=A0=E5=B0=98=E5=AE=A4=E5=86=85=E7=82=B9=E5=A2=A8?= Date: Fri, 26 Jul 2024 10:05:15 +0800 Subject: [PATCH] fix: type in ts5 --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c353950..81bdde0 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,10 @@ "main": "./dist/index.js", "types": "./dist/types/index.d.ts", "exports": { - ".": "./dist/index.js", + ".": { + "types": "./dist/types/index.d.ts", + "import": "./dist/index.js" + }, "./components": "./src/components/index.ts" }, "typesVersions": {