From 355dff9749409d01f61a85eaef4e3d018ad71661 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Thu, 14 Apr 2022 23:43:44 +0800 Subject: [PATCH] type: add types field in package.json --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 002d061..8ab94f8 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "author": "Kenny ", "type": "module", "exports": "./lib/index.js", + "types": "./lib/index.d.ts", "main": "./lib/index.js", "scripts": { "prepare": "npm run build",