From 6fbdcc1621196dc53d12acfcfad6d61dff462fc2 Mon Sep 17 00:00:00 2001 From: Will Stone <654103+will-stone@users.noreply.github.com> Date: Wed, 30 Jul 2025 11:54:43 +0100 Subject: [PATCH] Fix Could not find a declaration file for module 'jsdom-testing-mocks' --- package.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8719726..e1eb343 100644 --- a/package.json +++ b/package.json @@ -24,8 +24,14 @@ ], "main": "dist/index.js", "exports": { - "import":"./dist/esm/index.js", - "require": "./dist/index.js" + "import":{ + "types": "./dist/index.d.ts", + "default": "./dist/esm/index.js" + }, + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.js" + } }, "typings": "dist/index.d.ts", "files": [