Skip to content

Commit 55d9501

Browse files
authored
Add jsxFragmentFactory option for TS 4.0 (#1117)
1 parent 4ef7dae commit 55d9501

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/schemas/json/tsconfig.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,11 @@
530530
"type": "string",
531531
"default": "React.createElement"
532532
},
533+
"jsxFragmentFactory": {
534+
"description": "Specify the JSX Fragment reference to use for fragements when targeting react JSX emit, e.g. 'React.Fragment' or 'Fragment'. Requires TypeScript version 4.0 or later.",
535+
"type": "string",
536+
"default": "React.Fragment"
537+
},
533538
"alwaysStrict": {
534539
"description": "Parse in strict mode and emit 'use strict' for each source file. Requires TypeScript version 2.1 or later.",
535540
"type": "boolean"

0 commit comments

Comments
 (0)