From fdc80eb606f736608ae8365e372bcbc304bbad76 Mon Sep 17 00:00:00 2001 From: Dave Mihalcik <38867245+dmihalcik-virtru@users.noreply.github.com> Date: Thu, 12 Jan 2023 10:02:29 -0500 Subject: [PATCH] Adds exported types to moduleResolution:node16 (#137) This will let users get type information when compiling ESM projects with node module settings in later versions of tsc and node 18+ --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ec7010d..4d1fb54 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ ".": { "module": "./dist/index.modern.js", "import": "./dist/index.modern.js", - "require": "./dist/index.cjs" + "require": "./dist/index.cjs", + "types": "./index.d.ts" }, "./package.json": "./package.json" },