Skip to content

Commit cc9daca

Browse files
committed
Accept new baselines
1 parent 2bf4bad commit cc9daca

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/baselines/reference/declarationEmitTypeAliasWithTypeParameters1.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ exports.y = function (x) { return 1; };
1212
//// [declarationEmitTypeAliasWithTypeParameters1.d.ts]
1313
export declare type Bar<X, Y> = () => [X, Y];
1414
export declare type Foo<Y> = Bar<any, Y>;
15-
export declare const y: (x: () => [any, string]) => number;
15+
export declare const y: (x: Bar<any, string>) => number;

tests/baselines/reference/declarationEmitTypeAliasWithTypeParameters1.types

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ export type Bar<X, Y> = () => [X, Y];
88
>Y : Y
99

1010
export type Foo<Y> = Bar<any, Y>;
11-
>Foo : () => [any, Y]
11+
>Foo : Bar<any, Y>
1212
>Y : Y
1313
>Bar : Bar<X, Y>
1414
>Y : Y
1515

1616
export const y = (x: Foo<string>) => 1
17-
>y : (x: () => [any, string]) => number
18-
>(x: Foo<string>) => 1 : (x: () => [any, string]) => number
19-
>x : () => [any, string]
20-
>Foo : () => [any, Y]
17+
>y : (x: Bar<any, string>) => number
18+
>(x: Foo<string>) => 1 : (x: Bar<any, string>) => number
19+
>x : Bar<any, string>
20+
>Foo : Bar<any, Y>
2121
>1 : 1
2222

0 commit comments

Comments
 (0)