From 7a516129b9b03a7a601a5b771e4f419c271a876d Mon Sep 17 00:00:00 2001 From: Arthur Fiorette Date: Sat, 9 Mar 2024 20:37:40 -0300 Subject: [PATCH] chore: declaration maps for benchmarks --- benchmarks/kitajs/tsconfig.json | 4 +++- benchmarks/reactjsx/tsconfig.json | 4 +++- benchmarks/templates/tsconfig.json | 4 +++- benchmarks/typed-html/tsconfig.json | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/benchmarks/kitajs/tsconfig.json b/benchmarks/kitajs/tsconfig.json index 16f0d4a20..3d1b7c1c0 100644 --- a/benchmarks/kitajs/tsconfig.json +++ b/benchmarks/kitajs/tsconfig.json @@ -8,7 +8,9 @@ "moduleResolution": "Node16", "skipLibCheck": true, "skipDefaultLibCheck": true, - "jsxImportSource": "@kitajs/html" + "jsxImportSource": "@kitajs/html", + "declaration": true, + "declarationMap": true }, "include": ["renderers", "index.ts"], "exclude": ["dist"] diff --git a/benchmarks/reactjsx/tsconfig.json b/benchmarks/reactjsx/tsconfig.json index 3a78341f0..a849aaf07 100644 --- a/benchmarks/reactjsx/tsconfig.json +++ b/benchmarks/reactjsx/tsconfig.json @@ -2,7 +2,9 @@ "compilerOptions": { "baseUrl": "./", "outDir": "dist", - "jsx": "react-jsx" + "jsx": "react-jsx", + "declaration": true, + "declarationMap": true }, "include": ["renderers", "index.ts"], "exclude": ["node_modules", "dist"] diff --git a/benchmarks/templates/tsconfig.json b/benchmarks/templates/tsconfig.json index a3b3b390e..b45614e11 100644 --- a/benchmarks/templates/tsconfig.json +++ b/benchmarks/templates/tsconfig.json @@ -5,7 +5,9 @@ "module": "Node16", "target": "ESNext", "jsx": "react-jsx", - "jsxImportSource": "@kitajs/html" + "jsxImportSource": "@kitajs/html", + "declaration": true, + "declarationMap": true }, "include": ["renderers", "index.ts"], "exclude": ["dist"] diff --git a/benchmarks/typed-html/tsconfig.json b/benchmarks/typed-html/tsconfig.json index 300b087c9..18843578b 100644 --- a/benchmarks/typed-html/tsconfig.json +++ b/benchmarks/typed-html/tsconfig.json @@ -6,7 +6,9 @@ "moduleResolution": "Node16", "target": "ESNext", "jsx": "react", - "jsxFactory": "elements.createElement" + "jsxFactory": "elements.createElement", + "declaration": true, + "declarationMap": true }, "include": ["renderers", "index.ts"], "exclude": ["dist"]