From 1ccb15557a22c2e628a4b0cd09560da854f6ba14 Mon Sep 17 00:00:00 2001 From: Kid <44045911+kidonng@users.noreply.github.com> Date: Thu, 2 Mar 2023 03:24:30 +0800 Subject: [PATCH] Add `types` exports field for TypeScript ESM (#925) --- lib/octicons_react/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/octicons_react/package.json b/lib/octicons_react/package.json index dbefad8d5..c5c9f9a81 100644 --- a/lib/octicons_react/package.json +++ b/lib/octicons_react/package.json @@ -8,6 +8,7 @@ "main": "dist/index.umd.js", "module": "dist/index.esm.js", "exports": { + "types": "./dist/index.d.ts", "import": "./dist/index.esm.js", "require": "./dist/index.umd.js" },