From 38a722f30298fda23435736a7aa5d5641fb10061 Mon Sep 17 00:00:00 2001 From: Morten Larsen Date: Tue, 14 Jun 2022 15:43:16 +0200 Subject: [PATCH] Fix TypeScript not able to resolve types when set to Node16 --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 59a9fcdc..40e987e7 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,8 @@ "exports": { "import": "./index.mjs", "require": "./index.js", - "default": "./index.js" + "default": "./index.js", + "types": "./dist/src/index.d.ts" }, "scripts": { "build": "tsc --build",