Skip to content

Commit e58f95a

Browse files
Update Baselines and/or Applied Lint Fixes
1 parent e85543f commit e58f95a

File tree

1,561 files changed

+13713
-13713
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,561 files changed

+13713
-13713
lines changed

tests/baselines/reference/1.0lib-noErrors.types

+8-8
Original file line numberDiff line numberDiff line change
@@ -2081,7 +2081,7 @@ interface Array<T> {
20812081
*/
20822082
concat<U extends T[]>(...items: U[]): T[];
20832083
>concat : { <U extends T[]>(...items: U[]): T[]; (...items: T[]): T[]; }
2084-
> : ^^^ ^^^^^^^^^ ^^^^^ ^^ ^^^ ^^^^^^ ^^ ^^^ ^^^
2084+
> : ^^^^^^^^^^^^^ ^^^^^ ^^ ^^^ ^^^^^^ ^^ ^^^ ^^^
20852085
>items : U[]
20862086
> : ^^^
20872087

@@ -2091,7 +2091,7 @@ interface Array<T> {
20912091
*/
20922092
concat(...items: T[]): T[];
20932093
>concat : { <U extends T[]>(...items: U[]): T[]; (...items: T[]): T[]; }
2094-
> : ^^^ ^^^^^^^^^ ^^^^^ ^^ ^^^ ^^^^^^ ^^ ^^^ ^^^
2094+
> : ^^^^^^^^^^^^^ ^^^^^ ^^ ^^^ ^^^^^^ ^^ ^^^ ^^^
20952095
>items : T[]
20962096
> : ^^^
20972097

@@ -2286,7 +2286,7 @@ interface Array<T> {
22862286
*/
22872287
map<U>(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any): U[];
22882288
>map : <U>(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any) => U[]
2289-
> : ^ ^^ ^^ ^^ ^^^ ^^^^^
2289+
> : ^^^^ ^^ ^^ ^^^ ^^^^^
22902290
>callbackfn : (value: T, index: number, array: T[]) => U
22912291
> : ^ ^^ ^^ ^^ ^^ ^^ ^^^^^
22922292
>value : T
@@ -2322,7 +2322,7 @@ interface Array<T> {
23222322
*/
23232323
reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue?: T): T;
23242324
>reduce : { (callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue?: T): T; <U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U; }
2325-
> : ^^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^^ ^^^
2325+
> : ^^^ ^^ ^^ ^^^ ^^^ ^^^^^^ ^^ ^^ ^^ ^^^ ^^^
23262326
>callbackfn : (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T
23272327
> : ^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^^
23282328
>previousValue : T
@@ -2343,7 +2343,7 @@ interface Array<T> {
23432343
*/
23442344
reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U;
23452345
>reduce : { (callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue?: T): T; <U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U; }
2346-
> : ^^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^^ ^^^
2346+
> : ^^^ ^^ ^^ ^^^ ^^^ ^^^^^^ ^^ ^^ ^^ ^^^ ^^^
23472347
>callbackfn : (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U
23482348
> : ^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^^
23492349
>previousValue : U
@@ -2364,7 +2364,7 @@ interface Array<T> {
23642364
*/
23652365
reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue?: T): T;
23662366
>reduceRight : { (callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue?: T): T; <U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U; }
2367-
> : ^^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^^ ^^^
2367+
> : ^^^ ^^ ^^ ^^^ ^^^ ^^^^^^ ^^ ^^ ^^ ^^^ ^^^
23682368
>callbackfn : (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T
23692369
> : ^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^^
23702370
>previousValue : T
@@ -2385,7 +2385,7 @@ interface Array<T> {
23852385
*/
23862386
reduceRight<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U;
23872387
>reduceRight : { (callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue?: T): T; <U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U; }
2388-
> : ^^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^^ ^^^
2388+
> : ^^^ ^^ ^^ ^^^ ^^^ ^^^^^^ ^^ ^^ ^^ ^^^ ^^^
23892389
>callbackfn : (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U
23902390
> : ^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^^
23912391
>previousValue : U
@@ -2412,7 +2412,7 @@ interface Array<T> {
24122412
}
24132413
declare var Array: {
24142414
>Array : { (arrayLength?: number): any[]; <T>(arrayLength: number): T[]; <T>(...items: T[]): T[]; new (arrayLength?: number): any[]; new <T>(arrayLength: number): T[]; new <T>(...items: T[]): T[]; isArray(arg: any): boolean; prototype: Array<any>; }
2415-
> : ^^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^^^ ^^ ^^^ ^^^^^^^ ^^^ ^^^ ^^^^^^^ ^^ ^^ ^^^ ^^^^^^^ ^^^^^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^ ^^^
2415+
> : ^^^ ^^^ ^^^ ^^^^^^ ^^ ^^^ ^^^^^^^^^ ^^ ^^^ ^^^^^^^ ^^^ ^^^ ^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^ ^^^
24162416

24172417
new (arrayLength?: number): any[];
24182418
>arrayLength : number

tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedGenericFunctionAndGenericClassStaticFunctionOfTheSameName.types

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class clodule<T> {
1515

1616
static fn<U>(id: U) { }
1717
>fn : <U>(id: U) => void
18-
> : ^ ^^ ^^ ^^^^^^^^^
18+
> : ^^^^ ^^ ^^^^^^^^^
1919
>id : U
2020
> : ^
2121
}
@@ -27,7 +27,7 @@ module clodule {
2727
// error: duplicate identifier expected
2828
export function fn<T>(x: T, y: T): T {
2929
>fn : <T>(x: T, y: T) => T
30-
> : ^ ^^ ^^ ^^ ^^ ^^^^^
30+
> : ^^^^ ^^ ^^ ^^ ^^^^^
3131
>x : T
3232
> : ^
3333
>y : T

tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedGenericFunctionAndNonGenericClassStaticFunctionOfTheSameName.types

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module clodule {
2727
// error: duplicate identifier expected
2828
export function fn<T>(x: T, y: T): T {
2929
>fn : <T>(x: T, y: T) => T
30-
> : ^ ^^ ^^ ^^ ^^ ^^^^^
30+
> : ^^^^ ^^ ^^ ^^ ^^^^^
3131
>x : T
3232
> : ^
3333
>y : T

tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedStaticFunctionUsingClassPrivateStatics.types

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module clodule {
2929
// error: duplicate identifier expected
3030
export function fn<T>(x: T, y: T): number {
3131
>fn : <T>(x: T, y: T) => number
32-
> : ^ ^^ ^^ ^^ ^^ ^^^^^
32+
> : ^^^^ ^^ ^^ ^^ ^^^^^
3333
>x : T
3434
> : ^
3535
>y : T

tests/baselines/reference/ES5For-ofTypeCheck13.types

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,23 @@ strSet.add('Hello')
1313
>strSet.add('Hello') : Set<string>
1414
> : ^^^^^^^^^^^
1515
>strSet.add : (value: string) => Set<string>
16-
> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^
16+
> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^
1717
>strSet : Set<string>
1818
> : ^^^^^^^^^^^
1919
>add : (value: string) => Set<string>
20-
> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^
20+
> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^
2121
>'Hello' : "Hello"
2222
> : ^^^^^^^
2323

2424
strSet.add('World')
2525
>strSet.add('World') : Set<string>
2626
> : ^^^^^^^^^^^
2727
>strSet.add : (value: string) => Set<string>
28-
> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^
28+
> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^
2929
>strSet : Set<string>
3030
> : ^^^^^^^^^^^
3131
>add : (value: string) => Set<string>
32-
> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^
32+
> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^
3333
>'World' : "World"
3434
> : ^^^^^^^
3535

tests/baselines/reference/ModuleWithExportedAndNonExportedFunctions.types

+6-6
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module A {
1818

1919
export function fng<T, U>(s: T): U {
2020
>fng : <T, U>(s: T) => U
21-
> : ^ ^^ ^^ ^^ ^^^^^
21+
> : ^^^^^^^ ^^ ^^^^^
2222
>s : T
2323
> : ^
2424

@@ -38,7 +38,7 @@ module A {
3838

3939
function fng2<T, U>(s: T): U {
4040
>fng2 : <T, U>(s: T) => U
41-
> : ^ ^^ ^^ ^^ ^^^^^
41+
> : ^^^^^^^ ^^ ^^^^^
4242
>s : T
4343
> : ^
4444

@@ -65,19 +65,19 @@ var fn = A.fn;
6565

6666
var fng: <T, U>(s: T) => U;
6767
>fng : <T, U>(s: T) => U
68-
> : ^ ^^ ^^ ^^ ^^^^^
68+
> : ^^^^^^^ ^^ ^^^^^
6969
>s : T
7070
> : ^
7171

7272
var fng = A.fng; // bug 838015
7373
>fng : <T, U>(s: T) => U
74-
> : ^ ^^ ^^ ^^ ^^^^^
74+
> : ^^^^^^^ ^^ ^^^^^
7575
>A.fng : <T, U>(s: T) => U
76-
> : ^ ^^ ^^ ^^ ^^^^^
76+
> : ^^^^^^^ ^^ ^^^^^
7777
>A : typeof A
7878
> : ^^^^^^^^
7979
>fng : <T, U>(s: T) => U
80-
> : ^ ^^ ^^ ^^ ^^^^^
80+
> : ^^^^^^^ ^^ ^^^^^
8181

8282
// these should be errors since the functions are not exported
8383
var fn2 = A.fn2;

tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedAndNonExportedLocalVarsOfTheSameName.types

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module A {
2121

2222
export function mirror<T extends Point>(p: T) {
2323
>mirror : <T extends Point>(p: T) => { x: number; y: number; }
24-
> : ^ ^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24+
> : ^^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2525
>p : T
2626
> : ^
2727

@@ -123,15 +123,15 @@ var o = A.Utils.mirror(o);
123123
>A.Utils.mirror(o) : { x: number; y: number; }
124124
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
125125
>A.Utils.mirror : <T extends A.Point>(p: T) => { x: number; y: number; }
126-
> : ^ ^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
126+
> : ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
127127
>A.Utils : typeof A.Utils
128128
> : ^^^^^^^^^^^^^^
129129
>A : typeof A
130130
> : ^^^^^^^^
131131
>Utils : typeof A.Utils
132132
> : ^^^^^^^^^^^^^^
133133
>mirror : <T extends A.Point>(p: T) => { x: number; y: number; }
134-
> : ^ ^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
134+
> : ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
135135
>o : { x: number; y: number; }
136136
> : ^^^^^ ^^^^^ ^^^
137137

tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedLocalVarsOfTheSameName.types

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export module A {
2121

2222
export function mirror<T extends Point>(p: T) {
2323
>mirror : <T extends Point>(p: T) => { x: number; y: number; }
24-
> : ^ ^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24+
> : ^^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2525
>p : T
2626
> : ^
2727

tests/baselines/reference/TwoInternalModulesWithTheSameNameAndDifferentCommonRoot.types

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module Root {
2525

2626
export function mirror<T extends Point>(p: T) {
2727
>mirror : <T extends Point>(p: T) => { x: number; y: number; }
28-
> : ^ ^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
28+
> : ^^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2929
>p : T
3030
> : ^
3131

tests/baselines/reference/TwoInternalModulesWithTheSameNameAndSameCommonRoot.types

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module A {
2121

2222
export function mirror<T extends Point>(p: T) {
2323
>mirror : <T extends Point>(p: T) => { x: number; y: number; }
24-
> : ^ ^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24+
> : ^^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2525
>p : T
2626
> : ^
2727

@@ -117,15 +117,15 @@ var o = A.Utils.mirror(o);
117117
>A.Utils.mirror(o) : { x: number; y: number; }
118118
> : ^^^^^^^^^^^^^^^^^^^^^^^^^
119119
>A.Utils.mirror : <T extends A.Point>(p: T) => { x: number; y: number; }
120-
> : ^ ^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
120+
> : ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
121121
>A.Utils : typeof A.Utils
122122
> : ^^^^^^^^^^^^^^
123123
>A : typeof A
124124
> : ^^^^^^^^
125125
>Utils : typeof A.Utils
126126
> : ^^^^^^^^^^^^^^
127127
>mirror : <T extends A.Point>(p: T) => { x: number; y: number; }
128-
> : ^ ^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
128+
> : ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
129129
>o : { x: number; y: number; }
130130
> : ^^^^^ ^^^^^ ^^^
131131

tests/baselines/reference/acceptSymbolAsWeakType.types

+8-8
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ ws.add(s);
2727
>ws.add(s) : WeakSet<symbol>
2828
> : ^^^^^^^^^^^^^^^
2929
>ws.add : (value: symbol) => WeakSet<symbol>
30-
> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
30+
> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^
3131
>ws : WeakSet<symbol>
3232
> : ^^^^^^^^^^^^^^^
3333
>add : (value: symbol) => WeakSet<symbol>
34-
> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
34+
> : ^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^
3535
>s : symbol
3636
> : ^^^^^^
3737

@@ -79,11 +79,11 @@ wm.set(s, true);
7979
>wm.set(s, true) : WeakMap<symbol, boolean>
8080
> : ^^^^^^^^^^^^^^^^^^^^^^^^
8181
>wm.set : (key: symbol, value: boolean) => WeakMap<symbol, boolean>
82-
> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
82+
> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^
8383
>wm : WeakMap<symbol, boolean>
8484
> : ^^^^^^^^^^^^^^^^^^^^^^^^
8585
>set : (key: symbol, value: boolean) => WeakMap<symbol, boolean>
86-
> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
86+
> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^
8787
>s : symbol
8888
> : ^^^^^^
8989
>true : true
@@ -105,11 +105,11 @@ wm.get(s);
105105
>wm.get(s) : boolean | undefined
106106
> : ^^^^^^^^^^^^^^^^^^^
107107
>wm.get : (key: symbol) => boolean | undefined
108-
> : ^ ^^^^^^^^^^^^^^^^^^^^
108+
> : ^ ^^^^^^^^^^^^^
109109
>wm : WeakMap<symbol, boolean>
110110
> : ^^^^^^^^^^^^^^^^^^^^^^^^
111111
>get : (key: symbol) => boolean | undefined
112-
> : ^ ^^^^^^^^^^^^^^^^^^^^
112+
> : ^ ^^^^^^^^^^^^^
113113
>s : symbol
114114
> : ^^^^^^
115115

@@ -139,11 +139,11 @@ wr.deref();
139139
>wr.deref() : symbol | undefined
140140
> : ^^^^^^^^^^^^^^^^^^
141141
>wr.deref : () => symbol | undefined
142-
> : ^^^^^^^^^^^^
142+
> : ^^^^^^
143143
>wr : WeakRef<symbol>
144144
> : ^^^^^^^^^^^^^^^
145145
>deref : () => symbol | undefined
146-
> : ^^^^^^^^^^^^
146+
> : ^^^^^^
147147

148148
const f = new FinalizationRegistry(() => {});
149149
>f : FinalizationRegistry<unknown>

tests/baselines/reference/accessorsOverrideProperty8.types

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type AnyCtor<P extends object> = new (...a: any[]) => P
2222

2323
declare function classWithProperties<T extends { [key: string]: Types }, P extends object>(properties: T, klass: AnyCtor<P>): {
2424
>classWithProperties : <T extends { [key: string]: Types; }, P extends object>(properties: T, klass: AnyCtor<P>) => { new (): P & Properties<T>; prototype: P & Properties<T>; }
25-
> : ^ ^^^^^^^^^ ^^ ^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^^^
25+
> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^^^
2626
>key : string
2727
> : ^^^^^^
2828
>properties : T
@@ -39,11 +39,11 @@ declare function classWithProperties<T extends { [key: string]: Types }, P exten
3939

4040
const Base = classWithProperties({
4141
>Base : { new (): Base & Properties<{ readonly x: "boolean"; y: "string"; }>; prototype: Base & Properties<{ readonly x: "boolean"; y: "string"; }>; }
42-
> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
42+
> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4343
>classWithProperties({ get x() { return 'boolean' as const }, y: 'string',}, class Base {}) : { new (): Base & Properties<{ readonly x: "boolean"; y: "string"; }>; prototype: Base & Properties<{ readonly x: "boolean"; y: "string"; }>; }
44-
> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44+
> : ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4545
>classWithProperties : <T extends { [key: string]: Types; }, P extends object>(properties: T, klass: AnyCtor<P>) => { new (): P & Properties<T>; prototype: P & Properties<T>; }
46-
> : ^ ^^^^^^^^^ ^^ ^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^^^
46+
> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^^^
4747
>{ get x() { return 'boolean' as const }, y: 'string',} : { readonly x: "boolean"; y: "string"; }
4848
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4949

tests/baselines/reference/accessorsOverrideProperty9.types

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ interface ApiItemContainerMixin extends ApiItem {
5050

5151
function ApiItemContainerMixin<TBaseClass extends IApiItemConstructor>(
5252
>ApiItemContainerMixin : <TBaseClass extends IApiItemConstructor>(baseClass: TBaseClass) => TBaseClass & (new (...args: any[]) => ApiItemContainerMixin)
53-
> : ^ ^^^^^^^^^ ^^ ^^ ^^^^^
53+
> : ^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^^^
5454

5555
baseClass: TBaseClass
5656
>baseClass : TBaseClass
@@ -102,7 +102,7 @@ export class ApiEnum extends ApiItemContainerMixin(ApiItem) {
102102
>ApiItemContainerMixin(ApiItem) : ApiItem & ApiItemContainerMixin
103103
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
104104
>ApiItemContainerMixin : <TBaseClass extends IApiItemConstructor>(baseClass: TBaseClass) => TBaseClass & (new (...args: any[]) => ApiItemContainerMixin)
105-
> : ^ ^^^^^^^^^ ^^ ^^ ^^^^^
105+
> : ^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^^^
106106
>ApiItem : typeof ApiItem
107107
> : ^^^^^^^^^^^^^^
108108

tests/baselines/reference/additionOperatorWithConstrainedTypeParameter.types

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// test for #17069
55
function sum<T extends Record<K, number>, K extends string>(n: number, v: T, k: K) {
66
>sum : <T extends Record<K, number>, K extends string>(n: number, v: T, k: K) => void
7-
> : ^ ^^^^^^^^^ ^^ ^^^^^^^^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^
7+
> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^
88
>n : number
99
> : ^^^^^^
1010
>v : T
@@ -42,7 +42,7 @@ function sum<T extends Record<K, number>, K extends string>(n: number, v: T, k:
4242
}
4343
function realSum<T extends Record<K, number>, K extends string>(n: number, vs: T[], k: K) {
4444
>realSum : <T extends Record<K, number>, K extends string>(n: number, vs: T[], k: K) => void
45-
> : ^ ^^^^^^^^^ ^^ ^^^^^^^^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^
45+
> : ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^
4646
>n : number
4747
> : ^^^^^^
4848
>vs : T[]

tests/baselines/reference/additionOperatorWithTypeParameter.types

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ enum E { a, b }
1212

1313
function foo<T, U>(t: T, u: U) {
1414
>foo : <T, U>(t: T, u: U) => void
15-
> : ^ ^^ ^^ ^^ ^^ ^^ ^^^^^^^^^
15+
> : ^^^^^^^ ^^ ^^ ^^ ^^^^^^^^^
1616
>t : T
1717
> : ^
1818
>u : U

tests/baselines/reference/aliasInstantiationExpressionGenericIntersectionNoCrash1.types

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ class ErrImpl<E> {
1212

1313
declare const Err: typeof ErrImpl & (<T>() => T);
1414
>Err : typeof ErrImpl & (<T>() => T)
15-
> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^
15+
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^
1616
>ErrImpl : typeof ErrImpl
1717
> : ^^^^^^^^^^^^^^
1818

1919
type ErrAlias<U> = typeof Err<U>;
2020
>ErrAlias : { new (): ErrImpl<U>; prototype: ErrImpl<any>; } & (() => U)
2121
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2222
>Err : typeof ErrImpl & (<T>() => T)
23-
> : ^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^
23+
> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^
2424

2525
declare const e: ErrAlias<number>;
2626
>e : { new (): ErrImpl<number>; prototype: ErrImpl<any>; } & (() => number)

0 commit comments

Comments
 (0)