From 86defe308dea9da7b1fd320dd31383b45f64ee43 Mon Sep 17 00:00:00 2001 From: Team Fineshop Design Date: Fri, 31 May 2024 12:30:10 +0530 Subject: [PATCH] fix: no types exports for `./worker` submodule --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 08e20d9..83352ab 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,10 @@ "default": "./cjs/cached.js" }, "./package.json": "./package.json", - "./worker": "./worker.js" + "./worker": { + "types": "./types/esm/index.d.ts", + "import": "./worker.js" + } }, "typesVersions": { "*": {