|
2 | 2 | +++ new.1.0lib-noErrors.errors.txt |
3 | 3 | @@= skipped -0, +0 lines =@@ |
4 | 4 | -<no content> |
| 5 | ++1.0lib-noErrors.ts(92,5): error TS2374: Duplicate index signature for type 'string'. |
5 | 6 | +1.0lib-noErrors.ts(130,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'Object' must be of type 'ObjectConstructor', but here has type '{ (): any; (value: any): any; new (value?: any): Object; prototype: Object; getPrototypeOf(o: any): any; getOwnPropertyDescriptor(o: any, p: string): PropertyDescriptor; getOwnPropertyNames(o: any): string[]; create(o: any, properties?: PropertyDescriptorMap): any; defineProperty(o: any, p: string, attributes: PropertyDescriptor): any; defineProperties(o: any, properties: PropertyDescriptorMap): any; seal(o: any): any; freeze(o: any): any; preventExtensions(o: any): any; isSealed(o: any): boolean; isFrozen(o: any): boolean; isExtensible(o: any): boolean; keys(o: any): string[]; }'. |
6 | 7 | +1.0lib-noErrors.ts(251,5): error TS2687: All declarations of 'length' must have identical modifiers. |
7 | 8 | +1.0lib-noErrors.ts(258,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'Function' must be of type 'FunctionConstructor', but here has type '{ (...args: string[]): Function; new (...args: string[]): Function; prototype: Function; }'. |
| 9 | ++1.0lib-noErrors.ts(269,5): error TS2374: Duplicate index signature for type 'number'. |
8 | 10 | +1.0lib-noErrors.ts(414,5): error TS2687: All declarations of 'length' must have identical modifiers. |
| 11 | ++1.0lib-noErrors.ts(424,5): error TS2374: Duplicate index signature for type 'number'. |
9 | 12 | +1.0lib-noErrors.ts(430,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'String' must be of type 'StringConstructor', but here has type '{ (value?: any): string; new (value?: any): String; prototype: String; fromCharCode(...codes: number[]): string; }'. |
10 | 13 | +1.0lib-noErrors.ts(439,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'Boolean' must be of type 'BooleanConstructor', but here has type '{ (value?: any): boolean; new (value?: any): Boolean; prototype: Boolean; }'. |
11 | 14 | +1.0lib-noErrors.ts(472,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'Number' must be of type 'NumberConstructor', but here has type '{ (value?: any): number; new (value?: any): Number; prototype: Number; MAX_VALUE: number; MIN_VALUE: number; NaN: number; NEGATIVE_INFINITY: number; POSITIVE_INFINITY: number; }'. |
|
18 | 21 | +1.0lib-noErrors.ts(516,5): error TS2687: All declarations of 'SQRT1_2' must have identical modifiers. |
19 | 22 | +1.0lib-noErrors.ts(518,5): error TS2687: All declarations of 'SQRT2' must have identical modifiers. |
20 | 23 | +1.0lib-noErrors.ts(767,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'Date' must be of type 'DateConstructor', but here has type '{ (): string; new (): Date; new (value: number): Date; new (value: string): Date; new (year: number, month: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): Date; prototype: Date; parse(s: string): number; UTC(year: number, month: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): number; now(): number; }'. |
| 24 | ++1.0lib-noErrors.ts(793,11): error TS2430: Interface 'RegExpExecArray' incorrectly extends interface 'string[]'. |
| 25 | ++ Types of property 'concat' are incompatible. |
| 26 | ++ Type '(...items: string[][]) => string[]' is not assignable to type '{ (...items: ConcatArray<string>[]): string[]; (...items: (string | ConcatArray<string>)[]): string[]; <U extends string[]>(...items: U[]): string[]; (...items: string[]): string[]; }'. |
| 27 | ++ Types of parameters 'items' and 'items' are incompatible. |
| 28 | ++ Type 'string' is not assignable to type 'string[]'. |
21 | 29 | +1.0lib-noErrors.ts(840,5): error TS2687: All declarations of 'source' must have identical modifiers. |
22 | 30 | +1.0lib-noErrors.ts(843,5): error TS2687: All declarations of 'global' must have identical modifiers. |
23 | 31 | +1.0lib-noErrors.ts(846,5): error TS2687: All declarations of 'ignoreCase' must have identical modifiers. |
|
30 | 38 | +1.0lib-noErrors.ts(909,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'SyntaxError' must be of type 'SyntaxErrorConstructor', but here has type '{ (message?: string): SyntaxError; new (message?: string): SyntaxError; prototype: SyntaxError; }'. |
31 | 39 | +1.0lib-noErrors.ts(917,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'TypeError' must be of type 'TypeErrorConstructor', but here has type '{ (message?: string): TypeError; new (message?: string): TypeError; prototype: TypeError; }'. |
32 | 40 | +1.0lib-noErrors.ts(925,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'URIError' must be of type 'URIErrorConstructor', but here has type '{ (message?: string): URIError; new (message?: string): URIError; prototype: URIError; }'. |
| 41 | ++1.0lib-noErrors.ts(1132,5): error TS2374: Duplicate index signature for type 'number'. |
33 | 42 | +1.0lib-noErrors.ts(1134,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'Array' must be of type 'ArrayConstructor', but here has type '{ (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: any[]; }'. |
34 | 43 | + |
35 | 44 | + |
36 | | -+==== 1.0lib-noErrors.ts (29 errors) ==== |
| 45 | ++==== 1.0lib-noErrors.ts (34 errors) ==== |
37 | 46 | + /* ***************************************************************************** |
38 | 47 | + Copyright (c) Microsoft Corporation. All rights reserved. |
39 | 48 | + Licensed under the Apache License, Version 2.0 (the "License"); you may not use |
|
126 | 135 | + |
127 | 136 | + interface PropertyDescriptorMap { |
128 | 137 | + [s: string]: PropertyDescriptor; |
| 138 | ++ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 139 | ++!!! error TS2374: Duplicate index signature for type 'string'. |
129 | 140 | + } |
130 | 141 | + |
131 | 142 | + interface Object { |
|
311 | 322 | + |
312 | 323 | + interface IArguments { |
313 | 324 | + [index: number]: any; |
| 325 | ++ ~~~~~~~~~~~~~~~~~~~~~ |
| 326 | ++!!! error TS2374: Duplicate index signature for type 'number'. |
314 | 327 | + length: number; |
315 | 328 | + callee: Function; |
316 | 329 | + } |
|
468 | 481 | + substr(from: number, length?: number): string; |
469 | 482 | + |
470 | 483 | + [index: number]: string; |
| 484 | ++ ~~~~~~~~~~~~~~~~~~~~~~~~ |
| 485 | ++!!! error TS2374: Duplicate index signature for type 'number'. |
471 | 486 | + } |
472 | 487 | + |
473 | 488 | + /** |
|
865 | 880 | + } |
866 | 881 | + |
867 | 882 | + interface RegExpExecArray { |
| 883 | ++ ~~~~~~~~~~~~~~~ |
| 884 | ++!!! error TS2430: Interface 'RegExpExecArray' incorrectly extends interface 'string[]'. |
| 885 | ++!!! error TS2430: Types of property 'concat' are incompatible. |
| 886 | ++!!! error TS2430: Type '(...items: string[][]) => string[]' is not assignable to type '{ (...items: ConcatArray<string>[]): string[]; (...items: (string | ConcatArray<string>)[]): string[]; <U extends string[]>(...items: U[]): string[]; (...items: string[]): string[]; }'. |
| 887 | ++!!! error TS2430: Types of parameters 'items' and 'items' are incompatible. |
| 888 | ++!!! error TS2430: Type 'string' is not assignable to type 'string[]'. |
868 | 889 | + [index: number]: string; |
869 | 890 | + length: number; |
870 | 891 | + |
|
1236 | 1257 | + length: number; |
1237 | 1258 | + |
1238 | 1259 | + [n: number]: T; |
| 1260 | ++ ~~~~~~~~~~~~~~~ |
| 1261 | ++!!! error TS2374: Duplicate index signature for type 'number'. |
1239 | 1262 | + } |
1240 | 1263 | + declare var Array: { |
1241 | 1264 | + ~~~~~ |
|
0 commit comments