Skip to content

Commit d57fe72

Browse files
committed
Updated LKG
1 parent 60a0a49 commit d57fe72

11 files changed

+12971
-4323
lines changed

bin/lib.core.d.ts

+9-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ interface Function {
258258
}
259259

260260
interface FunctionConstructor {
261-
/**
261+
/**
262262
* Creates a new function.
263263
* @param args A list of arguments the function accepts.
264264
*/
@@ -1164,3 +1164,11 @@ interface ArrayConstructor {
11641164
}
11651165

11661166
declare var Array: ArrayConstructor;
1167+
1168+
interface IPromise<T> {
1169+
then<TResult>(onfulfilled: (value: T) => TResult | IPromise<TResult>, onrejected: (reason: any) => TResult | IPromise<TResult>): IPromise<TResult>;
1170+
}
1171+
1172+
interface IPromiseConstructor {
1173+
new <T>(init: (resolve: (value: T | IPromise<T>) => void, reject: (reason: any) => void) => void): IPromise<T>;
1174+
}

bin/lib.core.es6.d.ts

+9-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ interface Function {
258258
}
259259

260260
interface FunctionConstructor {
261-
/**
261+
/**
262262
* Creates a new function.
263263
* @param args A list of arguments the function accepts.
264264
*/
@@ -1164,6 +1164,14 @@ interface ArrayConstructor {
11641164
}
11651165

11661166
declare var Array: ArrayConstructor;
1167+
1168+
interface IPromise<T> {
1169+
then<TResult>(onfulfilled: (value: T) => TResult | IPromise<TResult>, onrejected: (reason: any) => TResult | IPromise<TResult>): IPromise<TResult>;
1170+
}
1171+
1172+
interface IPromiseConstructor {
1173+
new <T>(init: (resolve: (value: T | IPromise<T>) => void, reject: (reason: any) => void) => void): IPromise<T>;
1174+
}
11671175
declare type PropertyKey = string | number | Symbol;
11681176

11691177
interface Symbol {

bin/lib.d.ts

+9-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ interface Function {
258258
}
259259

260260
interface FunctionConstructor {
261-
/**
261+
/**
262262
* Creates a new function.
263263
* @param args A list of arguments the function accepts.
264264
*/
@@ -1165,6 +1165,14 @@ interface ArrayConstructor {
11651165

11661166
declare var Array: ArrayConstructor;
11671167

1168+
interface IPromise<T> {
1169+
then<TResult>(onfulfilled: (value: T) => TResult | IPromise<TResult>, onrejected: (reason: any) => TResult | IPromise<TResult>): IPromise<TResult>;
1170+
}
1171+
1172+
interface IPromiseConstructor {
1173+
new <T>(init: (resolve: (value: T | IPromise<T>) => void, reject: (reason: any) => void) => void): IPromise<T>;
1174+
}
1175+
11681176
/////////////////////////////
11691177
/// IE10 ECMAScript Extensions
11701178
/////////////////////////////

bin/lib.es6.d.ts

+9-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ interface Function {
258258
}
259259

260260
interface FunctionConstructor {
261-
/**
261+
/**
262262
* Creates a new function.
263263
* @param args A list of arguments the function accepts.
264264
*/
@@ -1164,6 +1164,14 @@ interface ArrayConstructor {
11641164
}
11651165

11661166
declare var Array: ArrayConstructor;
1167+
1168+
interface IPromise<T> {
1169+
then<TResult>(onfulfilled: (value: T) => TResult | IPromise<TResult>, onrejected: (reason: any) => TResult | IPromise<TResult>): IPromise<TResult>;
1170+
}
1171+
1172+
interface IPromiseConstructor {
1173+
new <T>(init: (resolve: (value: T | IPromise<T>) => void, reject: (reason: any) => void) => void): IPromise<T>;
1174+
}
11671175
declare type PropertyKey = string | number | Symbol;
11681176

11691177
interface Symbol {

bin/tsc.js

+5,849-1,752
Large diffs are not rendered by default.

bin/tslib.d.ts

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*! *****************************************************************************
2+
Copyright (c) Microsoft Corporation. All rights reserved.
3+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4+
this file except in compliance with the License. You may obtain a copy of the
5+
License at http://www.apache.org/licenses/LICENSE-2.0
6+
7+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10+
MERCHANTABLITY OR NON-INFRINGEMENT.
11+
12+
See the Apache Version 2.0 License for specific language governing permissions
13+
and limitations under the License.
14+
***************************************************************************** */
15+
16+
export function __extends(b: any, d: any): void;
17+
export function __awaiter(generator: any): any;
18+
export function __generator(body: any): any;

0 commit comments

Comments
 (0)