From 6ac07cb00a0815a3bc0a2ddc014c9e3c7a70235d Mon Sep 17 00:00:00 2001 From: BOTLANNER <16349308+BOTLANNER@users.noreply.github.com> Date: Tue, 12 Nov 2024 08:17:27 +0200 Subject: [PATCH] Update package.json exports Added types to exports for additional `tsconfig` compatibility --- package.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ffa56dcc..f7698350 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,12 @@ "expander" ], "exports": { - "./*": "./dist/*/index.js" + "./*": { + "import": { + "types": "./*/index.d.ts", + "default": "./dist/*/index.js" + } + } }, "repository": { "type": "git", @@ -163,4 +168,4 @@ "luxon": "^3.3.0" }, "customElements": "custom-elements.json" -} \ No newline at end of file +}