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
Type 'A extends string ? keyof A : A' is not assignable to type 'B extends string ? keyof B : B'.
12
12
Type 'A' is not assignable to type 'B'.
13
+
tests/cases/conformance/types/conditional/conditionalTypes2.ts(73,12): error TS2345: Argument of type 'Extract<Extract<T, Foo>, Bar>' is not assignable to parameter of type '{ foo: string; bat: string; }'.
14
+
Type 'Bar & Extract<T, Foo>' is not assignable to type '{ foo: string; bat: string; }'.
15
+
Property 'bat' is missing in type 'Bar & Foo'.
16
+
Type 'Extract<Foo & T, Bar>' is not assignable to type '{ foo: string; bat: string; }'.
17
+
Type 'Bar & Foo & T' is not assignable to type '{ foo: string; bat: string; }'.
18
+
Property 'bat' is missing in type 'Bar & Foo'.
19
+
tests/cases/conformance/types/conditional/conditionalTypes2.ts(74,12): error TS2345: Argument of type 'Extract<T, Foo & Bar>' is not assignable to parameter of type '{ foo: string; bat: string; }'.
20
+
Type 'Foo & Bar & T' is not assignable to type '{ foo: string; bat: string; }'.
21
+
Property 'bat' is missing in type 'Foo & Bar'.
22
+
tests/cases/conformance/types/conditional/conditionalTypes2.ts(75,12): error TS2345: Argument of type 'Extract2<T, Foo, Bar>' is not assignable to parameter of type '{ foo: string; bat: string; }'.
23
+
Type 'T extends Bar ? T : never' is not assignable to type '{ foo: string; bat: string; }'.
24
+
Type 'Bar & Foo & T' is not assignable to type '{ foo: string; bat: string; }'.
0 commit comments