From e44809bdee56b74d304802e0cb366318c5df7559 Mon Sep 17 00:00:00 2001 From: Starstalker-awe Date: Sun, 23 Feb 2025 21:39:12 -0600 Subject: [PATCH] New tsconfig options from @kitajs/html --- docs/plugins/html.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/plugins/html.md b/docs/plugins/html.md index a1125967..46e8f015 100644 --- a/docs/plugins/html.md +++ b/docs/plugins/html.md @@ -71,9 +71,9 @@ To register the TypeScript type, please append the following to **tsconfig.json* // tsconfig.json { "compilerOptions": { - "jsx": "react", - "jsxFactory": "Html.createElement", - "jsxFragmentFactory": "Html.Fragment" + "jsx": "react-jsx", + "jsxImportSource": "@kitajs/html", + "plugins": [{ "name": "@kitajs/ts-html-plugin" }] } } ```