Skip to content

Commit 931796f

Browse files
docs(jsx): make example type-check (#2464)
Co-authored-by: Jo Franchetti <[email protected]>
1 parent 80a90f0 commit 931796f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

runtime/reference/jsx.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ To use the newer JSX runtime transform change the compiler options in your
6464
"jsxImportSource": "react"
6565
},
6666
"imports": {
67-
"react": "npm:react"
67+
"react": "npm:react",
68+
"@types/react": "npm:@types/react"
6869
}
6970
}
7071
```

0 commit comments

Comments
 (0)