Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update LKG #22085

Merged
1 commit merged into from Feb 21, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
103 changes: 61 additions & 42 deletions lib/cs/diagnosticMessages.generated.json

Large diffs are not rendered by default.

79 changes: 49 additions & 30 deletions lib/de/diagnosticMessages.generated.json

Large diffs are not rendered by default.

150 changes: 135 additions & 15 deletions lib/enu/diagnosticMessages.generated.json.lcg

Large diffs are not rendered by default.

109 changes: 64 additions & 45 deletions lib/es/diagnosticMessages.generated.json

Large diffs are not rendered by default.

111 changes: 65 additions & 46 deletions lib/fr/diagnosticMessages.generated.json

Large diffs are not rendered by default.

122 changes: 71 additions & 51 deletions lib/it/diagnosticMessages.generated.json

Large diffs are not rendered by default.

289 changes: 154 additions & 135 deletions lib/ja/diagnosticMessages.generated.json

Large diffs are not rendered by default.

122 changes: 71 additions & 51 deletions lib/ko/diagnosticMessages.generated.json

Large diffs are not rendered by default.

325 changes: 262 additions & 63 deletions lib/lib.d.ts

Large diffs are not rendered by default.

270 changes: 215 additions & 55 deletions lib/lib.dom.d.ts

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions lib/lib.es2015.collection.d.ts
Expand Up @@ -30,7 +30,7 @@ interface Map<K, V> {

interface MapConstructor {
new (): Map<any, any>;
new <K, V>(entries?: [K, V][]): Map<K, V>;
new <K, V>(entries?: ReadonlyArray<[K, V]>): Map<K, V>;
readonly prototype: Map<any, any>;
}
declare var Map: MapConstructor;
Expand All @@ -51,7 +51,7 @@ interface WeakMap<K extends object, V> {

interface WeakMapConstructor {
new (): WeakMap<object, any>;
new <K extends object, V>(entries?: [K, V][]): WeakMap<K, V>;
new <K extends object, V>(entries?: ReadonlyArray<[K, V]>): WeakMap<K, V>;
readonly prototype: WeakMap<object, any>;
}
declare var WeakMap: WeakMapConstructor;
Expand All @@ -67,7 +67,7 @@ interface Set<T> {

interface SetConstructor {
new (): Set<any>;
new <T>(values?: T[]): Set<T>;
new <T>(values?: ReadonlyArray<T>): Set<T>;
readonly prototype: Set<any>;
}
declare var Set: SetConstructor;
Expand All @@ -78,15 +78,15 @@ interface ReadonlySet<T> {
readonly size: number;
}

interface WeakSet<T> {
interface WeakSet<T extends object> {
add(value: T): this;
delete(value: T): boolean;
has(value: T): boolean;
}

interface WeakSetConstructor {
new (): WeakSet<object>;
new <T extends object>(values?: T[]): WeakSet<T>;
new <T extends object>(values?: ReadonlyArray<T>): WeakSet<T>;
readonly prototype: WeakSet<object>;
}
declare var WeakSet: WeakSetConstructor;
7 changes: 4 additions & 3 deletions lib/lib.es2015.core.d.ts
Expand Up @@ -89,7 +89,7 @@ interface ArrayConstructor {
}

interface DateConstructor {
new (value: Date): Date;
new (value: number | string | Date): Date;
}

interface Function {
Expand Down Expand Up @@ -138,8 +138,9 @@ interface Math {
log1p(x: number): number;

/**
* Returns the result of (e^x - 1) of x (e raised to the power of x, where e is the base of
* the natural logarithms).
* Returns the result of (e^x - 1), which is an implementation-dependent approximation to
* subtracting 1 from the exponential function of x (e raised to the power of x, where e
* is the base of the natural logarithms).
* @param x A numeric expression.
*/
expm1(x: number): number;
Expand Down
1 change: 0 additions & 1 deletion lib/lib.es2015.generator.d.ts
Expand Up @@ -69,4 +69,3 @@ interface GeneratorFunctionConstructor {
*/
readonly prototype: GeneratorFunction;
}
declare var GeneratorFunction: GeneratorFunctionConstructor;
6 changes: 3 additions & 3 deletions lib/lib.es2015.iterable.d.ts
Expand Up @@ -72,15 +72,15 @@ interface ArrayConstructor {
* Creates an array from an iterable object.
* @param iterable An iterable object to convert to an array.
*/
from<T>(iterable: Iterable<T>): T[];
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];

/**
* Creates an array from an iterable object.
* @param iterable An iterable object to convert to an array.
* @param mapfn A mapping function to call on every element of the array.
* @param thisArg Value of 'this' used to invoke the mapfn.
*/
from<T, U>(iterable: Iterable<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
}

interface ReadonlyArray<T> {
Expand Down Expand Up @@ -200,7 +200,7 @@ interface SetConstructor {
new <T>(iterable: Iterable<T>): Set<T>;
}

interface WeakSet<T> { }
interface WeakSet<T extends object> { }

interface WeakSetConstructor {
new <T extends object>(iterable: Iterable<T>): WeakSet<T>;
Expand Down
2 changes: 1 addition & 1 deletion lib/lib.es2015.symbol.wellknown.d.ts
Expand Up @@ -138,7 +138,7 @@ interface Set<T> {
readonly [Symbol.toStringTag]: "Set";
}

interface WeakSet<T> {
interface WeakSet<T extends object> {
readonly [Symbol.toStringTag]: "WeakSet";
}

Expand Down