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

Lines changed: 8 additions & 8 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 4 additions & 4 deletions
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

Lines changed: 6 additions & 6 deletions
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

Lines changed: 3 additions & 3 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 3 additions & 3 deletions
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

0 commit comments

Comments
 (0)