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/circularlyConstrainedMappedTypeContainingConditionalNoInfiniteInstantiationDepth.errors.txt
!!! error TS2322: Type '{ type: T; localChannelId: string; }' is not assignable to type 'Pick<ChannelOfType<T, TextChannel> | ChannelOfType<T, EmailChannel>, "type">'.
59
54
!!! error TS2322: Types of property 'type' are incompatible.
60
55
!!! error TS2322: Type 'T' is not assignable to type 'ChannelOfType<T, TextChannel>["type"] & ChannelOfType<T, EmailChannel>["type"]'.
61
-
!!! error TS2322: Type '"text" | "email"' is not assignable to type 'ChannelOfType<T, TextChannel>["type"] & ChannelOfType<T, EmailChannel>["type"]'.
62
-
!!! error TS2322: Type '"text"' is not assignable to type 'ChannelOfType<T, TextChannel>["type"] & ChannelOfType<T, EmailChannel>["type"]'.
56
+
!!! error TS2322: Type 'T' is not assignable to type 'ChannelOfType<T, TextChannel>["type"]'.
57
+
!!! error TS2322: Type '"text" | "email"' is not assignable to type 'ChannelOfType<T, TextChannel>["type"]'.
63
58
!!! error TS2322: Type '"text"' is not assignable to type 'ChannelOfType<T, TextChannel>["type"]'.
64
-
!!! error TS2322: Type 'T' is not assignable to type 'ChannelOfType<T, TextChannel>["type"]'.
65
-
!!! error TS2322: Type '"text" | "email"' is not assignable to type 'ChannelOfType<T, TextChannel>["type"]'.
66
-
!!! error TS2322: Type '"text"' is not assignable to type 'ChannelOfType<T, TextChannel>["type"]'.
67
-
!!! error TS2322: Type '"text"' is not assignable to type 'T & "text"'.
68
-
!!! error TS2322: Type 'T' is not assignable to type 'T & "text"'.
69
-
!!! error TS2322: Type '"text" | "email"' is not assignable to type 'T & "text"'.
70
-
!!! error TS2322: Type '"text"' is not assignable to type 'T & "text"'.
71
-
!!! error TS2322: Type '"text"' is not assignable to type 'T'.
72
-
!!! error TS2322: '"text"' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint '"text" | "email"'.
73
-
!!! error TS2322: Type 'T' is not assignable to type '"text"'.
74
-
!!! error TS2322: Type '"text" | "email"' is not assignable to type '"text"'.
75
-
!!! error TS2322: Type '"email"' is not assignable to type '"text"'.
59
+
!!! error TS2322: Type '"text"' is not assignable to type 'T & "text"'.
60
+
!!! error TS2322: Type '"text"' is not assignable to type 'T'.
61
+
!!! error TS2322: '"text"' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint '"text" | "email"'.
62
+
!!! error TS2322: Type 'T' is not assignable to type 'T & "text"'.
63
+
!!! error TS2322: Type 'T' is not assignable to type '"text"'.
64
+
!!! error TS2322: Type '"text" | "email"' is not assignable to type '"text"'.
65
+
!!! error TS2322: Type '"email"' is not assignable to type '"text"'.
Copy file name to clipboardExpand all lines: tests/baselines/reference/constructBigint.errors.txt
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,5 @@
1
1
tests/cases/conformance/es2020/constructBigint.ts(6,8): error TS2345: Argument of type 'symbol' is not assignable to parameter of type 'string | number | bigint | boolean'.
2
2
tests/cases/conformance/es2020/constructBigint.ts(7,8): error TS2345: Argument of type '{ e: number; m: number; }' is not assignable to parameter of type 'string | number | bigint | boolean'.
3
-
Type '{ e: number; m: number; }' is not assignable to type 'true'.
4
3
tests/cases/conformance/es2020/constructBigint.ts(8,8): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | number | bigint | boolean'.
5
4
tests/cases/conformance/es2020/constructBigint.ts(9,8): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'string | number | bigint | boolean'.
6
5
@@ -17,7 +16,6 @@ tests/cases/conformance/es2020/constructBigint.ts(9,8): error TS2345: Argument o
17
16
BigInt({ e: 1, m: 1 })
18
17
~~~~~~~~~~~~~~
19
18
!!! error TS2345: Argument of type '{ e: number; m: number; }' is not assignable to parameter of type 'string | number | bigint | boolean'.
20
-
!!! error TS2345: Type '{ e: number; m: number; }' is not assignable to type 'true'.
21
19
BigInt(null);
22
20
~~~~
23
21
!!! error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | number | bigint | boolean'.
tests/cases/conformance/decorators/class/method/decoratorOnClassMethod8.ts(4,5): error TS1241: Unable to resolve signature of method decorator when called as an expression.
2
-
tests/cases/conformance/decorators/class/method/decoratorOnClassMethod8.ts(4,5): error TS1241: Unable to resolve signature of method decorator when called as an expression.
3
-
Type 'C' has no properties in common with type 'TypedPropertyDescriptor<() => void>'.
2
+
tests/cases/conformance/decorators/class/method/decoratorOnClassMethod8.ts(4,5): error TS1269: Decorator function return type 'C' is not assignable to type 'void | TypedPropertyDescriptor<() => void>'.
tests/cases/conformance/es6/destructuring/destructuringObjectBindingPatternAndAssignment3.ts(3,5): error TS2322: Type '{ i: number; }' is not assignable to type 'string | number'.
3
-
Type '{ i: number; }' is not assignable to type 'number'.
4
3
tests/cases/conformance/es6/destructuring/destructuringObjectBindingPatternAndAssignment3.ts(3,6): error TS2339: Property 'i' does not exist on type 'string | number'.
5
4
tests/cases/conformance/es6/destructuring/destructuringObjectBindingPatternAndAssignment3.ts(4,6): error TS2339: Property 'i1' does not exist on type 'string | number | {}'.
6
5
tests/cases/conformance/es6/destructuring/destructuringObjectBindingPatternAndAssignment3.ts(5,12): error TS2525: Initializer provides no value for this binding element and the binding element has no default value.
Copy file name to clipboardExpand all lines: tests/baselines/reference/indexedAccessRelation.errors.txt
+2-6Lines changed: 2 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,8 @@
1
1
tests/cases/compiler/indexedAccessRelation.ts(16,23): error TS2345: Argument of type '{ a: T; }' is not assignable to parameter of type 'Pick<S & State<T>, "a">'.
2
2
Types of property 'a' are incompatible.
3
3
Type 'T' is not assignable to type 'S["a"] & T'.
4
-
Type 'Foo' is not assignable to type 'S["a"] & T'.
Copy file name to clipboardExpand all lines: tests/baselines/reference/intersectionAndUnionTypes.errors.txt
-6Lines changed: 0 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -14,13 +14,11 @@ tests/cases/conformance/types/intersection/intersectionAndUnionTypes.ts(26,1): e
14
14
Property 'a' is missing in type 'C & D' but required in type 'A'.
15
15
tests/cases/conformance/types/intersection/intersectionAndUnionTypes.ts(27,1): error TS2322: Type '(A & B) | (C & D)' is not assignable to type 'A | B'.
16
16
Type 'C & D' is not assignable to type 'A | B'.
17
-
Property 'b' is missing in type 'C & D' but required in type 'B'.
18
17
tests/cases/conformance/types/intersection/intersectionAndUnionTypes.ts(28,1): error TS2322: Type '(A & B) | (C & D)' is not assignable to type 'C & D'.
19
18
Type 'A & B' is not assignable to type 'C & D'.
20
19
Property 'c' is missing in type 'A & B' but required in type 'C'.
21
20
tests/cases/conformance/types/intersection/intersectionAndUnionTypes.ts(29,1): error TS2322: Type '(A & B) | (C & D)' is not assignable to type 'C | D'.
22
21
Type 'A & B' is not assignable to type 'C | D'.
23
-
Property 'd' is missing in type 'A & B' but required in type 'D'.
24
22
tests/cases/conformance/types/intersection/intersectionAndUnionTypes.ts(31,1): error TS2322: Type 'A & B' is not assignable to type '(A | B) & (C | D)'.
25
23
Type 'A & B' is not assignable to type 'B & D'.
26
24
Property 'd' is missing in type 'A & B' but required in type 'D'.
@@ -97,8 +95,6 @@ tests/cases/conformance/types/intersection/intersectionAndUnionTypes.ts(37,1): e
97
95
~~~
98
96
!!! error TS2322: Type '(A & B) | (C & D)' is not assignable to type 'A | B'.
99
97
!!! error TS2322: Type 'C & D' is not assignable to type 'A | B'.
100
-
!!! error TS2322: Property 'b' is missing in type 'C & D' but required in type 'B'.
101
-
!!! related TS2728 tests/cases/conformance/types/intersection/intersectionAndUnionTypes.ts:2:15: 'b' is declared here.
102
98
cnd = x;
103
99
~~~
104
100
!!! error TS2322: Type '(A & B) | (C & D)' is not assignable to type 'C & D'.
@@ -109,8 +105,6 @@ tests/cases/conformance/types/intersection/intersectionAndUnionTypes.ts(37,1): e
109
105
~~~
110
106
!!! error TS2322: Type '(A & B) | (C & D)' is not assignable to type 'C | D'.
111
107
!!! error TS2322: Type 'A & B' is not assignable to type 'C | D'.
112
-
!!! error TS2322: Property 'd' is missing in type 'A & B' but required in type 'D'.
113
-
!!! related TS2728 tests/cases/conformance/types/intersection/intersectionAndUnionTypes.ts:4:15: 'd' is declared here.
0 commit comments