File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -14076,6 +14076,11 @@ namespace ts {
14076
14076
14077
14077
function checkJsxFragment(node: JsxFragment): Type {
14078
14078
checkJsxOpeningLikeElementOrOpeningFragment(node.openingFragment);
14079
+
14080
+ if (compilerOptions.jsx === JsxEmit.React && compilerOptions.jsxFactory) {
14081
+ error(node, Diagnostics.JSX_fragment_is_not_supported_when_using_jsxFactory);
14082
+ }
14083
+
14079
14084
return getJsxGlobalElementType() || anyType;
14080
14085
}
14081
14086
Original file line number Diff line number Diff line change 3615
3615
"category" : " Error" ,
3616
3616
"code" : 17015
3617
3617
},
3618
+ "JSX fragment is not supported when using --jsxFactory" : {
3619
+ "category" : " Error" ,
3620
+ "code" :17016
3621
+ },
3618
3622
3619
3623
"Circularity detected while resolving configuration: {0}" : {
3620
3624
"category" : " Error" ,
You can’t perform that action at this time.
0 commit comments