Skip to content

Commit 269219f

Browse files
Fix mismerged baselines (#59522)
1 parent 5d545aa commit 269219f

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

tests/baselines/reference/importAliasInModuleAugmentation.types

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,41 +5,60 @@ export { }
55

66
namespace A {
77
>A : typeof A
8+
> : ^^^^^^^^
89

910
export const y = 34;
1011
>y : 34
12+
> : ^^
1113
>34 : 34
14+
> : ^^
1215

1316
export interface y { s: string }
1417
>s : string
18+
> : ^^^^^^
1519
}
1620

1721
declare global {
1822
>global : typeof global
23+
> : ^^^^^^^^^^^^^
1924

2025
export import x = A.y;
2126
>x : 34
27+
> : ^^
2228
>A : typeof A
29+
> : ^^^^^^^^
2330
>y : x
31+
> : ^
2432

2533
// Should still error
2634
import f = require("fs");
2735
>f : any
36+
> : ^^^
2837
}
2938

3039
const m: number = x;
3140
>m : number
41+
> : ^^^^^^
3242
>x : 34
43+
> : ^^
3344

3445
let s: x = { s: "" };
3546
>s : x
47+
> : ^
3648
>{ s: "" } : { s: string; }
49+
> : ^^^^^^^^^^^^^^
3750
>s : string
51+
> : ^^^^^^
3852
>"" : ""
53+
> : ^^
3954

4055
void s.s;
4156
>void s.s : undefined
57+
> : ^^^^^^^^^
4258
>s.s : string
59+
> : ^^^^^^
4360
>s : x
61+
> : ^
4462
>s : string
63+
> : ^^^^^^
4564

tests/baselines/reference/newNamesInGlobalAugmentations1.types

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ declare global {
2626
>Cls : Cls
2727
> : ^^^
2828
>x : any
29-
> : ^^^
3029

3130
let [a, b]: number[];
3231
>a : number
@@ -56,7 +55,6 @@ Symbol.observable;
5655

5756
new Cls().x
5857
>new Cls().x : any
59-
> : ^^^
6058
>new Cls() : Cls
6159
> : ^^^
6260
>Cls : typeof Cls

0 commit comments

Comments
 (0)