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/tsxStatelessFunctionComponentsWithTypeArguments4.errors.txt
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
tests/cases/conformance/jsx/file.tsx(9,33): error TS2322: Type '{ a: number; }' is not assignable to type 'IntrinsicAttributes & { b: {}; a: number; }'.
2
2
Type '{ a: number; }' is not assignable to type '{ b: {}; a: number; }'.
3
3
Property 'b' is missing in type '{ a: number; }'.
4
-
tests/cases/conformance/jsx/file.tsx(10,33): error TS2322: Type 'T' is not assignable to type 'IntrinsicAttributes & { b: number; a: {}; }'.
5
-
Type '{ b: number; }' is not assignable to type 'IntrinsicAttributes & { b: number; a: {}; }'.
6
-
Type '{ b: number; }' is not assignable to type '{ b: number; a: {}; }'.
4
+
tests/cases/conformance/jsx/file.tsx(10,33): error TS2322: Type 'T' is not assignable to type 'IntrinsicAttributes & { b: {}; a: {}; }'.
5
+
Type '{ b: number; }' is not assignable to type 'IntrinsicAttributes & { b: {}; a: {}; }'.
6
+
Type '{ b: number; }' is not assignable to type '{ b: {}; a: {}; }'.
7
7
Property 'a' is missing in type '{ b: number; }'.
8
8
Type 'T' is not assignable to type 'IntrinsicAttributes'.
9
9
Type '{ b: number; }' has no properties in common with type 'IntrinsicAttributes'.
@@ -25,9 +25,9 @@ tests/cases/conformance/jsx/file.tsx(10,33): error TS2322: Type 'T' is not assig
25
25
!!! error TS2322: Property 'b' is missing in type '{ a: number; }'.
26
26
let a2 = <OverloadComponent {...arg1} ignore-prop /> // missing a
27
27
~~~~~~~~~~~~~~~~~~~~~
28
-
!!! error TS2322: Type 'T' is not assignable to type 'IntrinsicAttributes & { b: number; a: {}; }'.
29
-
!!! error TS2322: Type '{ b: number; }' is not assignable to type 'IntrinsicAttributes & { b: number; a: {}; }'.
30
-
!!! error TS2322: Type '{ b: number; }' is not assignable to type '{ b: number; a: {}; }'.
28
+
!!! error TS2322: Type 'T' is not assignable to type 'IntrinsicAttributes & { b: {}; a: {}; }'.
29
+
!!! error TS2322: Type '{ b: number; }' is not assignable to type 'IntrinsicAttributes & { b: {}; a: {}; }'.
30
+
!!! error TS2322: Type '{ b: number; }' is not assignable to type '{ b: {}; a: {}; }'.
31
31
!!! error TS2322: Property 'a' is missing in type '{ b: number; }'.
32
32
!!! error TS2322: Type 'T' is not assignable to type 'IntrinsicAttributes'.
33
33
!!! error TS2322: Type '{ b: number; }' has no properties in common with type 'IntrinsicAttributes'.
0 commit comments