From 5137f28cbf38f4203b9febe67cd321673f43b596 Mon Sep 17 00:00:00 2001 From: Philippe Schommers Date: Wed, 17 Aug 2022 11:02:19 +0200 Subject: [PATCH] fix: type export via `typesVersions` --- package.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package.json b/package.json index e09b3326f3..29843861c9 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,13 @@ "import": "./dist/lib/peer_discovery_dns/index.js" } }, + "typesVersions": { + "*": { + "lib/*": [ + "dist/lib/*" + ] + } + }, "type": "module", "repository": "https://github.com/status-im/js-waku", "license": "MIT OR Apache-2.0",