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" }] } } ```