From 02e2cd2b348a3b7e0f313dd69df778ecd39cd96b Mon Sep 17 00:00:00 2001 From: Jovi De Croock Date: Mon, 22 Jan 2024 12:56:27 +0100 Subject: [PATCH] backport #3990 --- debug/package.json | 1 + package.json | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/debug/package.json b/debug/package.json index 633c9bf3dc..771905f1b2 100644 --- a/debug/package.json +++ b/debug/package.json @@ -17,6 +17,7 @@ }, "exports": { ".": { + "types": "./src/index.d.ts", "browser": "./dist/debug.mjs", "umd": "./dist/debug.umd.js", "import": "./dist/debug.mjs", diff --git a/package.json b/package.json index 461142e2ac..158500c80f 100644 --- a/package.json +++ b/package.json @@ -95,6 +95,16 @@ "import": "./compat/server.mjs", "require": "./compat/server.js" }, + "./compat/jsx-runtime": { + "types": "./jsx-runtime/src/index.d.ts", + "import": "./compat/jsx-runtime.mjs", + "require": "./compat/jsx-runtime.js" + }, + "./compat/jsx-dev-runtime": { + "types": "./jsx-runtime/src/index.d.ts", + "import": "./compat/jsx-dev-runtime.mjs", + "require": "./compat/jsx-dev-runtime.js" + }, "./package.json": "./package.json", "./compat/package.json": "./compat/package.json", "./debug/package.json": "./debug/package.json",