From ca981c0a424940ccb053293249ccd87d8424e055 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Mon, 12 Jun 2023 13:30:31 +0200 Subject: [PATCH] fix: Add the typings to the package exports so typescript with node16 resolution works Signed-off-by: Ferdinand Thiessen --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index 91b5c21c..f9ccae83 100644 --- a/package.json +++ b/package.json @@ -6,10 +6,12 @@ "types": "dist/index.d.ts", "exports": { ".": { + "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" }, "./gettext": { + "types": "./dist/gettext.d.ts", "import": "./dist/gettext.mjs", "require": "./dist/gettext.js" }