From e4b6e327c3fbe6e6051f856394c8b616a797eb2e Mon Sep 17 00:00:00 2001 From: odan Date: Sun, 19 Feb 2023 13:12:03 +0900 Subject: [PATCH] add types field in exports --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 446ac60..e9a81b4 100644 --- a/package.json +++ b/package.json @@ -30,14 +30,17 @@ "module": "./module/src/index.mjs", "exports": { ".": { + "types": "./types/index.d.ts", "import": "./module/src/index.mjs", "default": "./lib/index.js" }, "./jsx-dev-runtime": { + "types": "./jsx-dev-runtime.d.ts", "import": "./module/src/jsx-dev-runtime.mjs", "default": "./jsx-dev-runtime.js" }, "./jsx-runtime": { + "types": "./jsx-runtime.d.ts", "import": "./module/src/jsx-runtime.mjs", "default": "./jsx-runtime.js" }