@typescript-deploys/pr-build 4.9.0-pr-51065-26 → 4.9.0-pr-51144-3
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/README.md +1 -1
- package/lib/cs/diagnosticMessages.generated.json +1 -1
- package/lib/de/diagnosticMessages.generated.json +1 -1
- package/lib/es/diagnosticMessages.generated.json +1 -1
- package/lib/fr/diagnosticMessages.generated.json +1 -1
- package/lib/it/diagnosticMessages.generated.json +1 -1
- package/lib/ja/diagnosticMessages.generated.json +1 -1
- package/lib/ko/diagnosticMessages.generated.json +1 -1
- package/lib/lib.d.ts +5 -5
- package/lib/lib.dom.d.ts +1 -1
- package/lib/lib.dom.iterable.d.ts +1 -1
- package/lib/lib.es2015.collection.d.ts +133 -133
- package/lib/lib.es2015.core.d.ts +542 -542
- package/lib/lib.es2015.d.ts +11 -11
- package/lib/lib.es2015.generator.d.ts +60 -60
- package/lib/lib.es2015.iterable.d.ts +481 -481
- package/lib/lib.es2015.promise.d.ts +64 -64
- package/lib/lib.es2015.proxy.d.ts +113 -113
- package/lib/lib.es2015.reflect.d.ts +129 -129
- package/lib/lib.es2015.symbol.d.ts +30 -30
- package/lib/lib.es2015.symbol.wellknown.d.ts +307 -307
- package/lib/lib.es2016.array.include.d.ts +100 -100
- package/lib/lib.es2016.d.ts +2 -2
- package/lib/lib.es2016.full.d.ts +5 -5
- package/lib/lib.es2017.d.ts +7 -7
- package/lib/lib.es2017.full.d.ts +5 -5
- package/lib/lib.es2017.intl.d.ts +30 -30
- package/lib/lib.es2017.object.d.ts +34 -34
- package/lib/lib.es2017.sharedmemory.d.ts +120 -120
- package/lib/lib.es2017.string.d.ts +30 -30
- package/lib/lib.es2017.typedarrays.d.ts +38 -38
- package/lib/lib.es2018.asyncgenerator.d.ts +60 -60
- package/lib/lib.es2018.asynciterable.d.ts +27 -27
- package/lib/lib.es2018.d.ts +7 -7
- package/lib/lib.es2018.full.d.ts +5 -5
- package/lib/lib.es2018.intl.d.ts +56 -56
- package/lib/lib.es2018.promise.d.ts +13 -13
- package/lib/lib.es2018.regexp.d.ts +21 -21
- package/lib/lib.es2019.array.d.ts +66 -66
- package/lib/lib.es2019.d.ts +7 -7
- package/lib/lib.es2019.full.d.ts +6 -6
- package/lib/lib.es2019.intl.d.ts +6 -6
- package/lib/lib.es2019.object.d.ts +18 -18
- package/lib/lib.es2019.string.d.ts +22 -22
- package/lib/lib.es2019.symbol.d.ts +7 -7
- package/lib/lib.es2020.bigint.d.ts +713 -713
- package/lib/lib.es2020.d.ts +10 -10
- package/lib/lib.es2020.date.d.ts +26 -26
- package/lib/lib.es2020.full.d.ts +6 -6
- package/lib/lib.es2020.intl.d.ts +416 -416
- package/lib/lib.es2020.number.d.ts +13 -13
- package/lib/lib.es2020.promise.d.ts +32 -32
- package/lib/lib.es2020.sharedmemory.d.ts +82 -82
- package/lib/lib.es2020.string.d.ts +13 -13
- package/lib/lib.es2020.symbol.wellknown.d.ts +22 -22
- package/lib/lib.es2021.d.ts +6 -6
- package/lib/lib.es2021.full.d.ts +6 -6
- package/lib/lib.es2021.intl.d.ts +137 -137
- package/lib/lib.es2021.promise.d.ts +33 -33
- package/lib/lib.es2021.string.d.ts +18 -18
- package/lib/lib.es2021.weakref.d.ts +58 -58
- package/lib/lib.es2022.array.d.ts +106 -106
- package/lib/lib.es2022.d.ts +8 -8
- package/lib/lib.es2022.error.d.ts +58 -58
- package/lib/lib.es2022.full.d.ts +6 -6
- package/lib/lib.es2022.intl.d.ts +94 -94
- package/lib/lib.es2022.object.d.ts +9 -9
- package/lib/lib.es2022.sharedmemory.d.ts +8 -8
- package/lib/lib.es2022.string.d.ts +8 -8
- package/lib/lib.es5.d.ts +4509 -4509
- package/lib/lib.es6.d.ts +6 -6
- package/lib/lib.esnext.d.ts +3 -3
- package/lib/lib.esnext.full.d.ts +5 -5
- package/lib/lib.esnext.intl.d.ts +13 -13
- package/lib/lib.scripthost.d.ts +310 -310
- package/lib/lib.webworker.d.ts +1 -1
- package/lib/lib.webworker.importscripts.d.ts +7 -7
- package/lib/lib.webworker.iterable.d.ts +1 -1
- package/lib/pl/diagnosticMessages.generated.json +1 -1
- package/lib/pt-br/diagnosticMessages.generated.json +1 -1
- package/lib/ru/diagnosticMessages.generated.json +1 -1
- package/lib/tr/diagnosticMessages.generated.json +1 -1
- package/lib/tsc.js +34 -18
- package/lib/tsserver.js +108 -43
- package/lib/tsserverlibrary.d.ts +15 -16
- package/lib/tsserverlibrary.js +108 -41
- package/lib/typescript.d.ts +2 -10
- package/lib/typescript.js +71 -31
- package/lib/typingsInstaller.js +26 -9
- package/lib/zh-cn/diagnosticMessages.generated.json +1 -1
- package/lib/zh-tw/diagnosticMessages.generated.json +1 -1
- package/package.json +16 -34
|
@@ -15,104 +15,104 @@ and limitations under the License.
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
/// <reference no-default-lib="true"/>
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
interface Array<T> {
|
|
22
|
-
/**
|
|
23
|
-
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
24
|
-
* @param searchElement The element to search for.
|
|
25
|
-
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
|
26
|
-
*/
|
|
27
|
-
includes(searchElement: T, fromIndex?: number): boolean;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
interface ReadonlyArray<T> {
|
|
31
|
-
/**
|
|
32
|
-
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
33
|
-
* @param searchElement The element to search for.
|
|
34
|
-
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
|
35
|
-
*/
|
|
36
|
-
includes(searchElement: T, fromIndex?: number): boolean;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
interface Int8Array {
|
|
40
|
-
/**
|
|
41
|
-
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
42
|
-
* @param searchElement The element to search for.
|
|
43
|
-
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
|
44
|
-
*/
|
|
45
|
-
includes(searchElement: number, fromIndex?: number): boolean;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
interface Uint8Array {
|
|
49
|
-
/**
|
|
50
|
-
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
51
|
-
* @param searchElement The element to search for.
|
|
52
|
-
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
|
53
|
-
*/
|
|
54
|
-
includes(searchElement: number, fromIndex?: number): boolean;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
interface Uint8ClampedArray {
|
|
58
|
-
/**
|
|
59
|
-
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
60
|
-
* @param searchElement The element to search for.
|
|
61
|
-
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
|
62
|
-
*/
|
|
63
|
-
includes(searchElement: number, fromIndex?: number): boolean;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
interface Int16Array {
|
|
67
|
-
/**
|
|
68
|
-
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
69
|
-
* @param searchElement The element to search for.
|
|
70
|
-
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
|
71
|
-
*/
|
|
72
|
-
includes(searchElement: number, fromIndex?: number): boolean;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
interface Uint16Array {
|
|
76
|
-
/**
|
|
77
|
-
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
78
|
-
* @param searchElement The element to search for.
|
|
79
|
-
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
|
80
|
-
*/
|
|
81
|
-
includes(searchElement: number, fromIndex?: number): boolean;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
interface Int32Array {
|
|
85
|
-
/**
|
|
86
|
-
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
87
|
-
* @param searchElement The element to search for.
|
|
88
|
-
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
|
89
|
-
*/
|
|
90
|
-
includes(searchElement: number, fromIndex?: number): boolean;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
interface Uint32Array {
|
|
94
|
-
/**
|
|
95
|
-
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
96
|
-
* @param searchElement The element to search for.
|
|
97
|
-
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
|
98
|
-
*/
|
|
99
|
-
includes(searchElement: number, fromIndex?: number): boolean;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
interface Float32Array {
|
|
103
|
-
/**
|
|
104
|
-
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
105
|
-
* @param searchElement The element to search for.
|
|
106
|
-
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
|
107
|
-
*/
|
|
108
|
-
includes(searchElement: number, fromIndex?: number): boolean;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
interface Float64Array {
|
|
112
|
-
/**
|
|
113
|
-
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
114
|
-
* @param searchElement The element to search for.
|
|
115
|
-
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
|
116
|
-
*/
|
|
117
|
-
includes(searchElement: number, fromIndex?: number): boolean;
|
|
18
|
+
/// <reference no-default-lib="true"/>
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
interface Array<T> {
|
|
22
|
+
/**
|
|
23
|
+
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
24
|
+
* @param searchElement The element to search for.
|
|
25
|
+
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
|
26
|
+
*/
|
|
27
|
+
includes(searchElement: T, fromIndex?: number): boolean;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
interface ReadonlyArray<T> {
|
|
31
|
+
/**
|
|
32
|
+
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
33
|
+
* @param searchElement The element to search for.
|
|
34
|
+
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
|
35
|
+
*/
|
|
36
|
+
includes(searchElement: T, fromIndex?: number): boolean;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
interface Int8Array {
|
|
40
|
+
/**
|
|
41
|
+
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
42
|
+
* @param searchElement The element to search for.
|
|
43
|
+
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
|
44
|
+
*/
|
|
45
|
+
includes(searchElement: number, fromIndex?: number): boolean;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
interface Uint8Array {
|
|
49
|
+
/**
|
|
50
|
+
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
51
|
+
* @param searchElement The element to search for.
|
|
52
|
+
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
|
53
|
+
*/
|
|
54
|
+
includes(searchElement: number, fromIndex?: number): boolean;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
interface Uint8ClampedArray {
|
|
58
|
+
/**
|
|
59
|
+
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
60
|
+
* @param searchElement The element to search for.
|
|
61
|
+
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
|
62
|
+
*/
|
|
63
|
+
includes(searchElement: number, fromIndex?: number): boolean;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
interface Int16Array {
|
|
67
|
+
/**
|
|
68
|
+
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
69
|
+
* @param searchElement The element to search for.
|
|
70
|
+
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
|
71
|
+
*/
|
|
72
|
+
includes(searchElement: number, fromIndex?: number): boolean;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
interface Uint16Array {
|
|
76
|
+
/**
|
|
77
|
+
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
78
|
+
* @param searchElement The element to search for.
|
|
79
|
+
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
|
80
|
+
*/
|
|
81
|
+
includes(searchElement: number, fromIndex?: number): boolean;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
interface Int32Array {
|
|
85
|
+
/**
|
|
86
|
+
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
87
|
+
* @param searchElement The element to search for.
|
|
88
|
+
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
|
89
|
+
*/
|
|
90
|
+
includes(searchElement: number, fromIndex?: number): boolean;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
interface Uint32Array {
|
|
94
|
+
/**
|
|
95
|
+
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
96
|
+
* @param searchElement The element to search for.
|
|
97
|
+
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
|
98
|
+
*/
|
|
99
|
+
includes(searchElement: number, fromIndex?: number): boolean;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
interface Float32Array {
|
|
103
|
+
/**
|
|
104
|
+
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
105
|
+
* @param searchElement The element to search for.
|
|
106
|
+
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
|
107
|
+
*/
|
|
108
|
+
includes(searchElement: number, fromIndex?: number): boolean;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
interface Float64Array {
|
|
112
|
+
/**
|
|
113
|
+
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
114
|
+
* @param searchElement The element to search for.
|
|
115
|
+
* @param fromIndex The position in this array at which to begin searching for searchElement.
|
|
116
|
+
*/
|
|
117
|
+
includes(searchElement: number, fromIndex?: number): boolean;
|
|
118
118
|
}
|
package/lib/lib.es2016.d.ts
CHANGED
package/lib/lib.es2016.full.d.ts
CHANGED
|
@@ -15,11 +15,11 @@ and limitations under the License.
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
/// <reference no-default-lib="true"/>
|
|
18
|
+
/// <reference no-default-lib="true"/>
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
/// <reference lib="es2016" />
|
|
22
|
-
/// <reference lib="dom" />
|
|
23
|
-
/// <reference lib="webworker.importscripts" />
|
|
24
|
-
/// <reference lib="scripthost" />
|
|
21
|
+
/// <reference lib="es2016" />
|
|
22
|
+
/// <reference lib="dom" />
|
|
23
|
+
/// <reference lib="webworker.importscripts" />
|
|
24
|
+
/// <reference lib="scripthost" />
|
|
25
25
|
/// <reference lib="dom.iterable" />
|
package/lib/lib.es2017.d.ts
CHANGED
|
@@ -15,12 +15,12 @@ and limitations under the License.
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
/// <reference no-default-lib="true"/>
|
|
18
|
+
/// <reference no-default-lib="true"/>
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
/// <reference lib="es2016" />
|
|
22
|
-
/// <reference lib="es2017.object" />
|
|
23
|
-
/// <reference lib="es2017.sharedmemory" />
|
|
24
|
-
/// <reference lib="es2017.string" />
|
|
25
|
-
/// <reference lib="es2017.intl" />
|
|
26
|
-
/// <reference lib="es2017.typedarrays" />
|
|
21
|
+
/// <reference lib="es2016" />
|
|
22
|
+
/// <reference lib="es2017.object" />
|
|
23
|
+
/// <reference lib="es2017.sharedmemory" />
|
|
24
|
+
/// <reference lib="es2017.string" />
|
|
25
|
+
/// <reference lib="es2017.intl" />
|
|
26
|
+
/// <reference lib="es2017.typedarrays" />
|
package/lib/lib.es2017.full.d.ts
CHANGED
|
@@ -15,11 +15,11 @@ and limitations under the License.
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
/// <reference no-default-lib="true"/>
|
|
18
|
+
/// <reference no-default-lib="true"/>
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
/// <reference lib="es2017" />
|
|
22
|
-
/// <reference lib="dom" />
|
|
23
|
-
/// <reference lib="webworker.importscripts" />
|
|
24
|
-
/// <reference lib="scripthost" />
|
|
21
|
+
/// <reference lib="es2017" />
|
|
22
|
+
/// <reference lib="dom" />
|
|
23
|
+
/// <reference lib="webworker.importscripts" />
|
|
24
|
+
/// <reference lib="scripthost" />
|
|
25
25
|
/// <reference lib="dom.iterable" />
|
package/lib/lib.es2017.intl.d.ts
CHANGED
|
@@ -15,33 +15,33 @@ and limitations under the License.
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
/// <reference no-default-lib="true"/>
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
declare namespace Intl {
|
|
22
|
-
|
|
23
|
-
interface DateTimeFormatPartTypesRegistry {
|
|
24
|
-
day: any
|
|
25
|
-
dayPeriod: any
|
|
26
|
-
era: any
|
|
27
|
-
hour: any
|
|
28
|
-
literal: any
|
|
29
|
-
minute: any
|
|
30
|
-
month: any
|
|
31
|
-
second: any
|
|
32
|
-
timeZoneName: any
|
|
33
|
-
weekday: any
|
|
34
|
-
year: any
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
type DateTimeFormatPartTypes = keyof DateTimeFormatPartTypesRegistry;
|
|
38
|
-
|
|
39
|
-
interface DateTimeFormatPart {
|
|
40
|
-
type: DateTimeFormatPartTypes;
|
|
41
|
-
value: string;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
interface DateTimeFormat {
|
|
45
|
-
formatToParts(date?: Date | number): DateTimeFormatPart[];
|
|
46
|
-
}
|
|
47
|
-
}
|
|
18
|
+
/// <reference no-default-lib="true"/>
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
declare namespace Intl {
|
|
22
|
+
|
|
23
|
+
interface DateTimeFormatPartTypesRegistry {
|
|
24
|
+
day: any
|
|
25
|
+
dayPeriod: any
|
|
26
|
+
era: any
|
|
27
|
+
hour: any
|
|
28
|
+
literal: any
|
|
29
|
+
minute: any
|
|
30
|
+
month: any
|
|
31
|
+
second: any
|
|
32
|
+
timeZoneName: any
|
|
33
|
+
weekday: any
|
|
34
|
+
year: any
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
type DateTimeFormatPartTypes = keyof DateTimeFormatPartTypesRegistry;
|
|
38
|
+
|
|
39
|
+
interface DateTimeFormatPart {
|
|
40
|
+
type: DateTimeFormatPartTypes;
|
|
41
|
+
value: string;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
interface DateTimeFormat {
|
|
45
|
+
formatToParts(date?: Date | number): DateTimeFormatPart[];
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -15,37 +15,37 @@ and limitations under the License.
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
/// <reference no-default-lib="true"/>
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
interface ObjectConstructor {
|
|
22
|
-
/**
|
|
23
|
-
* Returns an array of values of the enumerable properties of an object
|
|
24
|
-
* @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.
|
|
25
|
-
*/
|
|
26
|
-
values<T>(o: { [s: string]: T } | ArrayLike<T>): T[];
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Returns an array of values of the enumerable properties of an object
|
|
30
|
-
* @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.
|
|
31
|
-
*/
|
|
32
|
-
values(o: {}): any[];
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Returns an array of key/values of the enumerable properties of an object
|
|
36
|
-
* @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.
|
|
37
|
-
*/
|
|
38
|
-
entries<T>(o: { [s: string]: T } | ArrayLike<T>): [string, T][];
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Returns an array of key/values of the enumerable properties of an object
|
|
42
|
-
* @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.
|
|
43
|
-
*/
|
|
44
|
-
entries(o: {}): [string, any][];
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Returns an object containing all own property descriptors of an object
|
|
48
|
-
* @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.
|
|
49
|
-
*/
|
|
50
|
-
getOwnPropertyDescriptors<T>(o: T): {[P in keyof T]: TypedPropertyDescriptor<T[P]>} & { [x: string]: PropertyDescriptor };
|
|
51
|
-
}
|
|
18
|
+
/// <reference no-default-lib="true"/>
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
interface ObjectConstructor {
|
|
22
|
+
/**
|
|
23
|
+
* Returns an array of values of the enumerable properties of an object
|
|
24
|
+
* @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.
|
|
25
|
+
*/
|
|
26
|
+
values<T>(o: { [s: string]: T } | ArrayLike<T>): T[];
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Returns an array of values of the enumerable properties of an object
|
|
30
|
+
* @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.
|
|
31
|
+
*/
|
|
32
|
+
values(o: {}): any[];
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Returns an array of key/values of the enumerable properties of an object
|
|
36
|
+
* @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.
|
|
37
|
+
*/
|
|
38
|
+
entries<T>(o: { [s: string]: T } | ArrayLike<T>): [string, T][];
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Returns an array of key/values of the enumerable properties of an object
|
|
42
|
+
* @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.
|
|
43
|
+
*/
|
|
44
|
+
entries(o: {}): [string, any][];
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Returns an object containing all own property descriptors of an object
|
|
48
|
+
* @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.
|
|
49
|
+
*/
|
|
50
|
+
getOwnPropertyDescriptors<T>(o: T): {[P in keyof T]: TypedPropertyDescriptor<T[P]>} & { [x: string]: PropertyDescriptor };
|
|
51
|
+
}
|
|
@@ -15,123 +15,123 @@ and limitations under the License.
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
/// <reference no-default-lib="true"/>
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
/// <reference lib="es2015.symbol" />
|
|
22
|
-
/// <reference lib="es2015.symbol.wellknown" />
|
|
23
|
-
|
|
24
|
-
interface SharedArrayBuffer {
|
|
25
|
-
/**
|
|
26
|
-
* Read-only. The length of the ArrayBuffer (in bytes).
|
|
27
|
-
*/
|
|
28
|
-
readonly byteLength: number;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Returns a section of an SharedArrayBuffer.
|
|
32
|
-
*/
|
|
33
|
-
slice(begin: number, end?: number): SharedArrayBuffer;
|
|
34
|
-
readonly [Symbol.species]: SharedArrayBuffer;
|
|
35
|
-
readonly [Symbol.toStringTag]: "SharedArrayBuffer";
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
interface SharedArrayBufferConstructor {
|
|
39
|
-
readonly prototype: SharedArrayBuffer;
|
|
40
|
-
new (byteLength: number): SharedArrayBuffer;
|
|
41
|
-
}
|
|
42
|
-
declare var SharedArrayBuffer: SharedArrayBufferConstructor;
|
|
43
|
-
|
|
44
|
-
interface ArrayBufferTypes {
|
|
45
|
-
SharedArrayBuffer: SharedArrayBuffer;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
interface Atomics {
|
|
49
|
-
/**
|
|
50
|
-
* Adds a value to the value at the given position in the array, returning the original value.
|
|
51
|
-
* Until this atomic operation completes, any other read or write operation against the array
|
|
52
|
-
* will block.
|
|
53
|
-
*/
|
|
54
|
-
add(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Stores the bitwise AND of a value with the value at the given position in the array,
|
|
58
|
-
* returning the original value. Until this atomic operation completes, any other read or
|
|
59
|
-
* write operation against the array will block.
|
|
60
|
-
*/
|
|
61
|
-
and(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* Replaces the value at the given position in the array if the original value equals the given
|
|
65
|
-
* expected value, returning the original value. Until this atomic operation completes, any
|
|
66
|
-
* other read or write operation against the array will block.
|
|
67
|
-
*/
|
|
68
|
-
compareExchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, expectedValue: number, replacementValue: number): number;
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Replaces the value at the given position in the array, returning the original value. Until
|
|
72
|
-
* this atomic operation completes, any other read or write operation against the array will
|
|
73
|
-
* block.
|
|
74
|
-
*/
|
|
75
|
-
exchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* Returns a value indicating whether high-performance algorithms can use atomic operations
|
|
79
|
-
* (`true`) or must use locks (`false`) for the given number of bytes-per-element of a typed
|
|
80
|
-
* array.
|
|
81
|
-
*/
|
|
82
|
-
isLockFree(size: number): boolean;
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Returns the value at the given position in the array. Until this atomic operation completes,
|
|
86
|
-
* any other read or write operation against the array will block.
|
|
87
|
-
*/
|
|
88
|
-
load(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number): number;
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* Stores the bitwise OR of a value with the value at the given position in the array,
|
|
92
|
-
* returning the original value. Until this atomic operation completes, any other read or write
|
|
93
|
-
* operation against the array will block.
|
|
94
|
-
*/
|
|
95
|
-
or(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* Stores a value at the given position in the array, returning the new value. Until this
|
|
99
|
-
* atomic operation completes, any other read or write operation against the array will block.
|
|
100
|
-
*/
|
|
101
|
-
store(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Subtracts a value from the value at the given position in the array, returning the original
|
|
105
|
-
* value. Until this atomic operation completes, any other read or write operation against the
|
|
106
|
-
* array will block.
|
|
107
|
-
*/
|
|
108
|
-
sub(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* If the value at the given position in the array is equal to the provided value, the current
|
|
112
|
-
* agent is put to sleep causing execution to suspend until the timeout expires (returning
|
|
113
|
-
* `"timed-out"`) or until the agent is awoken (returning `"ok"`); otherwise, returns
|
|
114
|
-
* `"not-equal"`.
|
|
115
|
-
*/
|
|
116
|
-
wait(typedArray: Int32Array, index: number, value: number, timeout?: number): "ok" | "not-equal" | "timed-out";
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* Wakes up sleeping agents that are waiting on the given index of the array, returning the
|
|
120
|
-
* number of agents that were awoken.
|
|
121
|
-
* @param typedArray A shared Int32Array.
|
|
122
|
-
* @param index The position in the typedArray to wake up on.
|
|
123
|
-
* @param count The number of sleeping agents to notify. Defaults to +Infinity.
|
|
124
|
-
*/
|
|
125
|
-
notify(typedArray: Int32Array, index: number, count?: number): number;
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* Stores the bitwise XOR of a value with the value at the given position in the array,
|
|
129
|
-
* returning the original value. Until this atomic operation completes, any other read or write
|
|
130
|
-
* operation against the array will block.
|
|
131
|
-
*/
|
|
132
|
-
xor(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
|
133
|
-
|
|
134
|
-
readonly [Symbol.toStringTag]: "Atomics";
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
declare var Atomics: Atomics;
|
|
18
|
+
/// <reference no-default-lib="true"/>
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
/// <reference lib="es2015.symbol" />
|
|
22
|
+
/// <reference lib="es2015.symbol.wellknown" />
|
|
23
|
+
|
|
24
|
+
interface SharedArrayBuffer {
|
|
25
|
+
/**
|
|
26
|
+
* Read-only. The length of the ArrayBuffer (in bytes).
|
|
27
|
+
*/
|
|
28
|
+
readonly byteLength: number;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Returns a section of an SharedArrayBuffer.
|
|
32
|
+
*/
|
|
33
|
+
slice(begin: number, end?: number): SharedArrayBuffer;
|
|
34
|
+
readonly [Symbol.species]: SharedArrayBuffer;
|
|
35
|
+
readonly [Symbol.toStringTag]: "SharedArrayBuffer";
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
interface SharedArrayBufferConstructor {
|
|
39
|
+
readonly prototype: SharedArrayBuffer;
|
|
40
|
+
new (byteLength: number): SharedArrayBuffer;
|
|
41
|
+
}
|
|
42
|
+
declare var SharedArrayBuffer: SharedArrayBufferConstructor;
|
|
43
|
+
|
|
44
|
+
interface ArrayBufferTypes {
|
|
45
|
+
SharedArrayBuffer: SharedArrayBuffer;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
interface Atomics {
|
|
49
|
+
/**
|
|
50
|
+
* Adds a value to the value at the given position in the array, returning the original value.
|
|
51
|
+
* Until this atomic operation completes, any other read or write operation against the array
|
|
52
|
+
* will block.
|
|
53
|
+
*/
|
|
54
|
+
add(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Stores the bitwise AND of a value with the value at the given position in the array,
|
|
58
|
+
* returning the original value. Until this atomic operation completes, any other read or
|
|
59
|
+
* write operation against the array will block.
|
|
60
|
+
*/
|
|
61
|
+
and(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Replaces the value at the given position in the array if the original value equals the given
|
|
65
|
+
* expected value, returning the original value. Until this atomic operation completes, any
|
|
66
|
+
* other read or write operation against the array will block.
|
|
67
|
+
*/
|
|
68
|
+
compareExchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, expectedValue: number, replacementValue: number): number;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Replaces the value at the given position in the array, returning the original value. Until
|
|
72
|
+
* this atomic operation completes, any other read or write operation against the array will
|
|
73
|
+
* block.
|
|
74
|
+
*/
|
|
75
|
+
exchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Returns a value indicating whether high-performance algorithms can use atomic operations
|
|
79
|
+
* (`true`) or must use locks (`false`) for the given number of bytes-per-element of a typed
|
|
80
|
+
* array.
|
|
81
|
+
*/
|
|
82
|
+
isLockFree(size: number): boolean;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Returns the value at the given position in the array. Until this atomic operation completes,
|
|
86
|
+
* any other read or write operation against the array will block.
|
|
87
|
+
*/
|
|
88
|
+
load(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number): number;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Stores the bitwise OR of a value with the value at the given position in the array,
|
|
92
|
+
* returning the original value. Until this atomic operation completes, any other read or write
|
|
93
|
+
* operation against the array will block.
|
|
94
|
+
*/
|
|
95
|
+
or(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Stores a value at the given position in the array, returning the new value. Until this
|
|
99
|
+
* atomic operation completes, any other read or write operation against the array will block.
|
|
100
|
+
*/
|
|
101
|
+
store(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Subtracts a value from the value at the given position in the array, returning the original
|
|
105
|
+
* value. Until this atomic operation completes, any other read or write operation against the
|
|
106
|
+
* array will block.
|
|
107
|
+
*/
|
|
108
|
+
sub(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* If the value at the given position in the array is equal to the provided value, the current
|
|
112
|
+
* agent is put to sleep causing execution to suspend until the timeout expires (returning
|
|
113
|
+
* `"timed-out"`) or until the agent is awoken (returning `"ok"`); otherwise, returns
|
|
114
|
+
* `"not-equal"`.
|
|
115
|
+
*/
|
|
116
|
+
wait(typedArray: Int32Array, index: number, value: number, timeout?: number): "ok" | "not-equal" | "timed-out";
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Wakes up sleeping agents that are waiting on the given index of the array, returning the
|
|
120
|
+
* number of agents that were awoken.
|
|
121
|
+
* @param typedArray A shared Int32Array.
|
|
122
|
+
* @param index The position in the typedArray to wake up on.
|
|
123
|
+
* @param count The number of sleeping agents to notify. Defaults to +Infinity.
|
|
124
|
+
*/
|
|
125
|
+
notify(typedArray: Int32Array, index: number, count?: number): number;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Stores the bitwise XOR of a value with the value at the given position in the array,
|
|
129
|
+
* returning the original value. Until this atomic operation completes, any other read or write
|
|
130
|
+
* operation against the array will block.
|
|
131
|
+
*/
|
|
132
|
+
xor(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number;
|
|
133
|
+
|
|
134
|
+
readonly [Symbol.toStringTag]: "Atomics";
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
declare var Atomics: Atomics;
|