From 7c43fc3aa23f75bf9a3348971c44da9fe908c790 Mon Sep 17 00:00:00 2001 From: Stephen Zhou Date: Sat, 23 Sep 2023 02:08:42 -0500 Subject: [PATCH] fix(types): add types in "exports" field in package.json (#19) --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f8b6e18..c8586f5 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "module": "./dist/index.mjs", "exports": { "require": "./dist/index.js", - "import": "./dist/index.mjs" + "import": "./dist/index.mjs", + "types": "./dist/index.d.ts" }, "types": "./dist/index.d.ts", "scripts": {