From 318afd78c98ebb45aa8ef1dd977da9067c10398c Mon Sep 17 00:00:00 2001 From: Dmitry Date: Sat, 29 Oct 2022 12:19:36 +0300 Subject: [PATCH] add "exports.types" for strict mode TS support (#95) --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 4b12bb8..9d4d296 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "exports": { ".": { "require": "./index.js", - "import": "./index.mjs" + "import": "./index.mjs", + "types": "./index.d.ts" }, "./*": "./*.js" },