From 8bd7824f249bdf8c48499b837ea095cb3804945a Mon Sep 17 00:00:00 2001 From: Ludwig Magnusson Date: Tue, 22 Nov 2022 20:30:03 +0100 Subject: [PATCH] update package exports for latest TypeScript This according to the new standard available in TypeScript 4.8.0 and forward. https://www.typescriptlang.org/docs/handbook/esm-node.html#packagejson-exports-imports-and-self-referencing --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index d4a70cb..fe6e4ef 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,7 @@ ], "main": "index.js", "exports": { + "types": "./index.d.ts", "require": "./index.js", "import": "./index.mjs" },