From 20a24f9a331ce7882103f6baae740a786faedfc7 Mon Sep 17 00:00:00 2001 From: Julien Brun Date: Tue, 19 May 2026 18:13:14 +0200 Subject: [PATCH] fix(types): add typesVersions to support CommonJS imports in TypeScript --- package.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package.json b/package.json index b76456f3..f8d2772e 100644 --- a/package.json +++ b/package.json @@ -46,6 +46,12 @@ "./utils/*": null, "./package.json": "./package.json" }, + "typesVersions": { + "*": { + "utils/*": [], + "*": ["./src/*.d.ts"] + } + }, "files": [ "src/**/*.js", "src/**/*.d.ts",