Skip to content

Commit b908652

Browse files
committed
📘 doc: fix jsxImportSource to jsxFactory
1 parent 4608b6d commit b908652

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/plugins/html.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ To utilize JSX, modify the tsconfig.json as the following:
5353
{
5454
"compilerOptions": {
5555
"jsx": "react",
56-
"jsxImportSource": "ElysiaJSX"
56+
"jsxFactory": "ElysiaJSX",
57+
"types": [
58+
"bun-types"
59+
]
5760
}
5861
}
5962
```

0 commit comments

Comments
 (0)