From a31e47308dd0b19ffaa23d878ae998787285e307 Mon Sep 17 00:00:00 2001 From: Irakli Gozalishvili Date: Fri, 10 Jun 2022 15:20:10 -0700 Subject: [PATCH] fix: add support for node16 module resolution Fixes module resolution with node16 ts configuration see: https://devblogs.microsoft.com/typescript/announcing-typescript-4-7/#package-json-exports-imports-and-self-referencing --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 1becd28..cf84222 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "author": "Rod (http://r.va.gg/)", "license": "(Apache-2.0 AND MIT)", "exports": { + "types": "./types/src/index.d.ts", "import": "./src/index.js" }, "dependencies": {