You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/baselines/reference/tsxUnionElementType1.errors.txt
+1-2
Original file line number
Diff line number
Diff line change
@@ -15,5 +15,4 @@ tests/cases/conformance/jsx/file.tsx(12,10): error TS2322: Type 'true' is not as
15
15
var SFCComp = SFC1 || SFC2;
16
16
<SFCComp x />
17
17
~
18
-
!!! error TS2322: Type 'true' is not assignable to type 'never'.
19
-
!!! related TS6500 tests/cases/conformance/jsx/file.tsx:3:23: The expected type comes from property 'x' which is declared here on type 'IntrinsicAttributes & { x: number; } & { x: boolean; }'
18
+
!!! error TS2322: Type 'true' is not assignable to type 'never'.
Copy file name to clipboardExpand all lines: tests/baselines/reference/tsxUnionElementType2.errors.txt
+1-2
Original file line number
Diff line number
Diff line change
@@ -15,5 +15,4 @@ tests/cases/conformance/jsx/file.tsx(12,10): error TS2322: Type 'string' is not
15
15
var SFCComp = SFC1 || SFC2;
16
16
<SFCComp x={"hi"}/>
17
17
~
18
-
!!! error TS2322: Type 'string' is not assignable to type 'never'.
19
-
!!! related TS6500 tests/cases/conformance/jsx/file.tsx:3:23: The expected type comes from property 'x' which is declared here on type 'IntrinsicAttributes & { x: number; } & { x: boolean; }'
18
+
!!! error TS2322: Type 'string' is not assignable to type 'never'.
0 commit comments