From 78559b71ff7d85cbf14e3f342299710293a2874d Mon Sep 17 00:00:00 2001 From: Morten Larsen Date: Wed, 15 Jun 2022 00:16:44 +0200 Subject: [PATCH] Fix TypeScript not able to resolve types when on Node16 (#330) --- 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",