From 8fe70f09ebf708a0ac40c17d4863c7d2aecc0b9b Mon Sep 17 00:00:00 2001 From: Rafal Chlodnicki Date: Fri, 13 Sep 2024 10:46:35 +0200 Subject: [PATCH] fix: type declarations don't work with "moduleResolution: node16" --- .npmrc | 1 + package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 00000000..214c29d1 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +registry=https://registry.npmjs.org/ diff --git a/package.json b/package.json index c641aa7d..f92d8f25 100755 --- a/package.json +++ b/package.json @@ -20,7 +20,8 @@ "exports": { ".": { "import": "./dist/module.mjs", - "require": "./dist/module.cjs" + "require": "./dist/module.cjs", + "types": "./dist/module.d.ts" } }, "main": "./dist/module.cjs",