From 3ba1d4b80f186b78478736c89dcc63e2794cdbe5 Mon Sep 17 00:00:00 2001 From: Alvin Ramskogler <62756994+blaumeise20@users.noreply.github.com> Date: Tue, 12 Sep 2023 14:52:21 +0200 Subject: [PATCH] Add types to `exports` field --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 756968d..af30210 100644 --- a/package.json +++ b/package.json @@ -16,10 +16,10 @@ "url": "http://marijnhaverbeke.nl" }, "type": "module", - "types": "dist/index.d.ts", "module": "dist/index.js", "exports": { "./mode/*": { + "types": "./mode/*.d.ts", "import": "./mode/*.js", "require": "./mode/*.cjs" },