From 960898656a2be74a7921b131e73a99f9a3b33df8 Mon Sep 17 00:00:00 2001 From: Aaron Dewes Date: Sun, 10 Mar 2024 23:32:32 +0100 Subject: [PATCH] fix: Export types (#251) This actually exports the types, which was accidentally broken in #249. --- scripts/build.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.mjs b/scripts/build.mjs index c66fe7fc..d30729d2 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -61,7 +61,7 @@ async function main() { types: "dist-types/index.d.ts", exports: { ".": { - types: "./dist-src/index.js", + types: "./dist-types/index.d.ts", import: "./dist-src/index.js", }, },