@typescript-deploys/pr-build 5.6.0-pr-58866-4 → 5.6.0-pr-58729-75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/lib.es2017.object.d.ts +4 -4
- package/lib/lib.es2018.promise.d.ts +1 -1
- package/lib/lib.es5.d.ts +3 -3
- package/lib/tsc.js +6117 -5839
- package/lib/typescript.d.ts +303 -335
- package/lib/typescript.js +8369 -8107
- package/package.json +11 -11
|
@@ -18,25 +18,25 @@ and limitations under the License.
|
|
|
18
18
|
|
|
19
19
|
interface ObjectConstructor {
|
|
20
20
|
/**
|
|
21
|
-
* Returns an array of values of the enumerable properties of an object
|
|
21
|
+
* Returns an array of values of the enumerable own properties of an object
|
|
22
22
|
* @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
|
23
23
|
*/
|
|
24
24
|
values<T>(o: { [s: string]: T; } | ArrayLike<T>): T[];
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
* Returns an array of values of the enumerable properties of an object
|
|
27
|
+
* Returns an array of values of the enumerable own properties of an object
|
|
28
28
|
* @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
|
29
29
|
*/
|
|
30
30
|
values(o: {}): any[];
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
* Returns an array of key/values of the enumerable properties of an object
|
|
33
|
+
* Returns an array of key/values of the enumerable own properties of an object
|
|
34
34
|
* @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
|
35
35
|
*/
|
|
36
36
|
entries<T>(o: { [s: string]: T; } | ArrayLike<T>): [string, T][];
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
|
-
* Returns an array of key/values of the enumerable properties of an object
|
|
39
|
+
* Returns an array of key/values of the enumerable own properties of an object
|
|
40
40
|
* @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
|
41
41
|
*/
|
|
42
42
|
entries(o: {}): [string, any][];
|
|
@@ -26,5 +26,5 @@ interface Promise<T> {
|
|
|
26
26
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
27
27
|
* @returns A Promise for the completion of the callback.
|
|
28
28
|
*/
|
|
29
|
-
finally(onfinally?: (() => void) | undefined | null): Promise<T>;
|
|
29
|
+
finally(deferred onfinally?: (() => void) | undefined | null): Promise<T>;
|
|
30
30
|
}
|
package/lib/lib.es5.d.ts
CHANGED
|
@@ -1534,7 +1534,7 @@ interface PromiseLike<T> {
|
|
|
1534
1534
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1535
1535
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
1536
1536
|
*/
|
|
1537
|
-
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): PromiseLike<TResult1 | TResult2>;
|
|
1537
|
+
then<TResult1 = T, TResult2 = never>(deferred onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, deferred onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): PromiseLike<TResult1 | TResult2>;
|
|
1538
1538
|
}
|
|
1539
1539
|
|
|
1540
1540
|
/**
|
|
@@ -1547,14 +1547,14 @@ interface Promise<T> {
|
|
|
1547
1547
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1548
1548
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
1549
1549
|
*/
|
|
1550
|
-
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): Promise<TResult1 | TResult2>;
|
|
1550
|
+
then<TResult1 = T, TResult2 = never>(deferred onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, deferred onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): Promise<TResult1 | TResult2>;
|
|
1551
1551
|
|
|
1552
1552
|
/**
|
|
1553
1553
|
* Attaches a callback for only the rejection of the Promise.
|
|
1554
1554
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1555
1555
|
* @returns A Promise for the completion of the callback.
|
|
1556
1556
|
*/
|
|
1557
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): Promise<T | TResult>;
|
|
1557
|
+
catch<TResult = never>(deferred onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): Promise<T | TResult>;
|
|
1558
1558
|
}
|
|
1559
1559
|
|
|
1560
1560
|
/**
|