From ce3b141af6a7d5125d9f9a7f145a36eb4bd51571 Mon Sep 17 00:00:00 2001 From: Till Davin Date: Thu, 15 Feb 2024 13:16:09 +0100 Subject: [PATCH] fix: Add types to package.json exports Support TypeScript `bundler` module resolution --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 87e18a95..0c077a33 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,8 @@ "exports": { ".": { "import": "./dist/module.mjs", - "require": "./dist/module.cjs" + "require": "./dist/module.cjs", + "types": "./dist/types.d.ts" } }, "main": "./dist/module.cjs",