From 56e83775b114edc169f605041d983156d4131387 Mon Sep 17 00:00:00 2001 From: Aseem Kishore Date: Fri, 12 Apr 2024 14:56:02 -0700 Subject: [PATCH] Update package.json: add `types` to `exports` too (#46) Based on https://stackoverflow.com/questions/76211877/the-xxxx-library-may-need-to-update-its-package-json-or-typings-ts --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 74a09c7..91bc3a8 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "main": "public", "exports": { ".": { + "types": "./public/index.d.ts", "import": "./public/index.mjs", "require": "./public/index.js" },