From 8cbd082501710a9599cbe71bf3e6c957cbd632f8 Mon Sep 17 00:00:00 2001 From: Rajas Paranjpe <52586855+ChocolateLoverRaj@users.noreply.github.com> Date: Thu, 17 Mar 2022 23:02:14 -0700 Subject: [PATCH] Add `"types"` to `"exports"` (#1704) For TypeScript compatibility with future esm support. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 604de13e5..6118a583f 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,7 @@ "main": "./index.js", "exports": { ".": { + "types": "./typings/index.d.ts", "require": "./index.js", "import": "./esm.mjs" },