From: Ardis Lu Date: Wed, 24 Jun 2026 06:58:01 +0000 (-0700) Subject: Set `types` key for TS badge on npm registry X-Git-Tag: v0.1.11~2 X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=a8e26812a80d7468d3df7dbf97c97b80117f7560;p=csvio 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. --- 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",