From ac22b58e8bac5344e99b6af4060d368310d249d0 Mon Sep 17 00:00:00 2001 From: Jan Andrle Date: Tue, 5 Sep 2023 12:49:37 +0200 Subject: [PATCH] :sparkles: Add types to package.json --- package.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 26a55c5..cb967d2 100644 --- a/package.json +++ b/package.json @@ -17,16 +17,20 @@ "type": "module", "exports": { ".": { - "import": "./index.js" + "import": "./index.js", + "types": "./index.d.ts" }, "./jsdom": { - "import": "./src/jsdom.js" + "import": "./src/jsdom.js", + "types": "./src/jsdom.d.ts" }, "./signals": { - "import": "./src/signals.js" + "import": "./src/signals.js", + "types": "./src/signals.d.ts" }, "./signals-lib": { - "import": "./src/signals-lib.js" + "import": "./src/signals-lib.js", + "types": "./src/signals.d.ts" } }, "typesVersions": {