From a8e26812a80d7468d3df7dbf97c97b80117f7560 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Tue, 23 Jun 2026 23:58:01 -0700 Subject: [PATCH] Set `types` key for TS badge on npm registry Although this key is redundant with `exports`, it is still required to have the "TS" badge on the npm registry. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 89a2b24..a3b7bfb 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ "default": "./src/index.js" } }, + "types": "./types/index.d.ts", "scripts": { "types": "tsc", "posttypes": "node ./npm/posttypes.js", -- 2.47.3