Skip to content

Commit e061ea1

Browse files
committed
Accept post-merge baseline
1 parent 713ef38 commit e061ea1

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tests/baselines/reference/badInferenceLowerPriorityThanGoodInference.types

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,16 @@
11
=== tests/cases/compiler/badInferenceLowerPriorityThanGoodInference.ts ===
22
interface Foo<A> {
3-
>Foo : Foo<A>
4-
>A : A
5-
63
a: A;
74
>a : A
8-
>A : A
95

106
b: (x: A) => void;
117
>b : (x: A) => void
128
>x : A
13-
>A : A
149
}
1510

1611
declare function canYouInferThis<A>(fn: () => Foo<A>): A;
1712
>canYouInferThis : <A>(fn: () => Foo<A>) => A
18-
>A : A
1913
>fn : () => Foo<A>
20-
>Foo : Foo<A>
21-
>A : A
22-
>A : A
2314

2415
const result = canYouInferThis(() => ({
2516
>result : { BLAH: number; }

0 commit comments

Comments
 (0)