From 0781e5a3e1e8285a8e3ecb097913f5d83032b5f9 Mon Sep 17 00:00:00 2001 From: joaosa Date: Fri, 12 Jul 2024 12:12:45 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20type=20declaration=20expor?= =?UTF-8?q?ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/vue2/package.json | 5 ++++- packages/vue3/package.json | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/vue2/package.json b/packages/vue2/package.json index f36f2029..fb573dba 100644 --- a/packages/vue2/package.json +++ b/packages/vue2/package.json @@ -8,7 +8,10 @@ "dist/" ], "exports": { - ".": "./dist/index.js", + ".": { + "types": "./dist/@types/index.d.ts", + "default": "./dist/index.js" + }, "./plugin": "./dist/plugin.js", "./styles": "./dist/styles/main.css", "./font": "./dist/styles/font.css", diff --git a/packages/vue3/package.json b/packages/vue3/package.json index 52f86eb2..1bbd24fe 100644 --- a/packages/vue3/package.json +++ b/packages/vue3/package.json @@ -8,7 +8,10 @@ "dist/" ], "exports": { - ".": "./dist/index.js", + ".": { + "types": "./dist/@types/index.d.ts", + "default": "./dist/index.js" + }, "./plugin": "./dist/plugin.js", "./styles": "./dist/styles/main.css", "./font": "./dist/styles/font.css",