From be3c44b563dcc9683cf0e9a25e1520d164fa655a Mon Sep 17 00:00:00 2001 From: Trevor Smith Date: Fri, 26 Jan 2024 11:57:05 -0700 Subject: [PATCH] Add "types" to package.json exports to fix module type resolution --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index abecfd1..30fffc3 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "exports": { ".": { "import": "./dist/index.mjs", - "require": "./dist/index.js" + "require": "./dist/index.js", + "types": "./dist/index.d.ts" }, "./package.json": "./package.json" },