From e33dea29143b95a4a160013038f971948d6e353c Mon Sep 17 00:00:00 2001 From: Brian Davidson Date: Fri, 15 Nov 2024 20:02:08 -0800 Subject: [PATCH] Adds types to package.json exports Newer TypeScript moduleResolution values require the types to be annotated in the `exports` section of package.json. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 7baa465..7bf2817 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "types": "./dist/index.d.ts", "main": "./dist/index.js", "exports": { + "types": "./dist/index.d.ts", "require": "./dist/index.js", "default": "./dist/index-esm.mjs" },