We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc6eee1 commit 9ca08a4Copy full SHA for 9ca08a4
1 file changed
src/compiler/checker.ts
@@ -12884,7 +12884,7 @@ namespace ts {
12884
function getJsxGlobalStatelessElementType(): Type {
12885
if (!deferredJsxStatelessElementType) {
12886
const jsxElementType = getJsxGlobalElementType();
12887
- if (jsxElementType){
+ if (jsxElementType) {
12888
deferredJsxStatelessElementType = getUnionType([jsxElementType, nullType]);
12889
}
12890
0 commit comments