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/checkJsxChildrenProperty2.errors.txt
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -3,19 +3,19 @@ tests/cases/conformance/jsx/file.tsx(17,11): error TS2710: 'children' are specif
3
3
tests/cases/conformance/jsx/file.tsx(31,6): error TS2322: Type '{ children: (Element | ((name: string) => Element))[]; a: number; b: string; }' is not assignable to type 'Prop'.
4
4
Types of property 'children' are incompatible.
5
5
Type '(Element | ((name: string) => Element))[]' is not assignable to type 'string | Element'.
6
-
Type '(Element | ((name: string) => Element))[]' is missing the following properties from type 'Element': type, props
6
+
Type '(Element | ((name: string) => Element))[]' is not assignable to type 'string'.
7
7
tests/cases/conformance/jsx/file.tsx(37,6): error TS2322: Type '{ children: (number | Element)[]; a: number; b: string; }' is not assignable to type 'Prop'.
8
8
Types of property 'children' are incompatible.
9
9
Type '(number | Element)[]' is not assignable to type 'string | Element'.
10
-
Type '(number | Element)[]' is missing the following properties from type 'Element': type, props
10
+
Type '(number | Element)[]' is not assignable to type 'string'.
11
11
tests/cases/conformance/jsx/file.tsx(43,6): error TS2322: Type '{ children: (string | Element)[]; a: number; b: string; }' is not assignable to type 'Prop'.
12
12
Types of property 'children' are incompatible.
13
13
Type '(string | Element)[]' is not assignable to type 'string | Element'.
14
-
Type '(string | Element)[]' is missing the following properties from type 'Element': type, props
14
+
Type '(string | Element)[]' is not assignable to type 'string'.
15
15
tests/cases/conformance/jsx/file.tsx(49,6): error TS2322: Type '{ children: Element[]; a: number; b: string; }' is not assignable to type 'Prop'.
16
16
Types of property 'children' are incompatible.
17
17
Type 'Element[]' is not assignable to type 'string | Element'.
18
-
Type 'Element[]' is missing the following properties from type 'Element': type, props
18
+
Type 'Element[]' is not assignable to type 'string'.
Copy file name to clipboardExpand all lines: tests/baselines/reference/intersectionWithUnionConstraint.errors.txt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
tests/cases/conformance/types/intersection/intersectionWithUnionConstraint.ts(7,9): error TS2322: Type 'T & U' is not assignable to type 'string | number'.
2
2
Type 'string | undefined' is not assignable to type 'string | number'.
3
3
Type 'undefined' is not assignable to type 'string | number'.
4
-
Type 'T & U' is not assignable to type 'number'.
4
+
Type 'T & U' is not assignable to type 'string'.
5
5
tests/cases/conformance/types/intersection/intersectionWithUnionConstraint.ts(8,9): error TS2322: Type 'T & U' is not assignable to type 'string | null'.
6
6
Type 'string | undefined' is not assignable to type 'string | null'.
7
7
Type 'undefined' is not assignable to type 'string | null'.
Copy file name to clipboardExpand all lines: tests/baselines/reference/mappedTypeErrors.errors.txt
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
tests/cases/conformance/types/mapped/mappedTypeErrors.ts(19,20): error TS2313: Type parameter 'P' has a circular constraint.
2
2
tests/cases/conformance/types/mapped/mappedTypeErrors.ts(21,20): error TS2322: Type 'Date' is not assignable to type 'string | number | symbol'.
3
-
Type 'Date' is not assignable to type 'symbol'.
3
+
Type 'Date' is not assignable to type 'number'.
4
4
tests/cases/conformance/types/mapped/mappedTypeErrors.ts(22,19): error TS2344: Type 'Date' does not satisfy the constraint 'string | number | symbol'.
5
-
Type 'Date' is not assignable to type 'symbol'.
5
+
Type 'Date' is not assignable to type 'number'.
6
6
tests/cases/conformance/types/mapped/mappedTypeErrors.ts(25,24): error TS2344: Type '"foo"' does not satisfy the constraint '"name" | "width" | "height" | "visible"'.
7
7
tests/cases/conformance/types/mapped/mappedTypeErrors.ts(26,24): error TS2344: Type '"name" | "foo"' does not satisfy the constraint '"name" | "width" | "height" | "visible"'.
8
8
Type '"foo"' is not assignable to type '"name" | "width" | "height" | "visible"'.
0 commit comments