From d547f18e90ac3bcc80aa62bcbef38594abf381e4 Mon Sep 17 00:00:00 2001 From: Tao Date: Mon, 23 Oct 2023 03:33:38 +0800 Subject: [PATCH] Add `exports.types` to package.json (#32) --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 3ea6e13..a77366e 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ }, "type": "module", "exports": { + "types": "./index.d.ts", "node": "./index.js", "default": "./browser.js" },