@typescript-deploys/pr-build 5.7.0-pr-59688-4 → 5.7.0-pr-59417-7
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/cs/diagnosticMessages.generated.json +6 -0
- package/lib/de/diagnosticMessages.generated.json +6 -0
- package/lib/es/diagnosticMessages.generated.json +6 -0
- package/lib/fr/diagnosticMessages.generated.json +6 -0
- package/lib/it/diagnosticMessages.generated.json +6 -0
- package/lib/ja/diagnosticMessages.generated.json +6 -0
- package/lib/ko/diagnosticMessages.generated.json +6 -0
- package/lib/lib.es2015.core.d.ts +9 -9
- package/lib/lib.es2015.iterable.d.ts +90 -27
- package/lib/lib.es2015.symbol.wellknown.d.ts +10 -10
- package/lib/lib.es2016.array.include.d.ts +9 -9
- package/lib/lib.es2017.sharedmemory.d.ts +12 -12
- package/lib/lib.es2017.typedarrays.d.ts +9 -9
- package/lib/lib.es2020.bigint.d.ts +51 -49
- package/lib/lib.es2020.sharedmemory.d.ts +11 -11
- package/lib/lib.es2022.array.d.ts +11 -11
- package/lib/lib.es2023.array.d.ts +99 -99
- package/lib/lib.es5.d.ts +251 -251
- package/lib/pl/diagnosticMessages.generated.json +6 -0
- package/lib/pt-br/diagnosticMessages.generated.json +6 -0
- package/lib/ru/diagnosticMessages.generated.json +6 -0
- package/lib/tr/diagnosticMessages.generated.json +6 -0
- package/lib/tsc.js +112 -71
- package/lib/typescript.d.ts +1 -4
- package/lib/typescript.js +398 -640
- package/lib/zh-cn/diagnosticMessages.generated.json +6 -0
- package/lib/zh-tw/diagnosticMessages.generated.json +6 -0
- package/package.json +1 -1
|
@@ -22,54 +22,54 @@ interface Atomics {
|
|
|
22
22
|
* Until this atomic operation completes, any other read or write operation against the array
|
|
23
23
|
* will block.
|
|
24
24
|
*/
|
|
25
|
-
add(typedArray: BigInt64Array | BigUint64Array
|
|
25
|
+
add(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint;
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Stores the bitwise AND of a value with the value at the given position in the array,
|
|
29
29
|
* returning the original value. Until this atomic operation completes, any other read or
|
|
30
30
|
* write operation against the array will block.
|
|
31
31
|
*/
|
|
32
|
-
and(typedArray: BigInt64Array | BigUint64Array
|
|
32
|
+
and(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint;
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* Replaces the value at the given position in the array if the original value equals the given
|
|
36
36
|
* expected value, returning the original value. Until this atomic operation completes, any
|
|
37
37
|
* other read or write operation against the array will block.
|
|
38
38
|
*/
|
|
39
|
-
compareExchange(typedArray: BigInt64Array | BigUint64Array
|
|
39
|
+
compareExchange(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, expectedValue: bigint, replacementValue: bigint): bigint;
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
42
|
* Replaces the value at the given position in the array, returning the original value. Until
|
|
43
43
|
* this atomic operation completes, any other read or write operation against the array will
|
|
44
44
|
* block.
|
|
45
45
|
*/
|
|
46
|
-
exchange(typedArray: BigInt64Array | BigUint64Array
|
|
46
|
+
exchange(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint;
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
49
|
* Returns the value at the given position in the array. Until this atomic operation completes,
|
|
50
50
|
* any other read or write operation against the array will block.
|
|
51
51
|
*/
|
|
52
|
-
load(typedArray: BigInt64Array | BigUint64Array
|
|
52
|
+
load(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number): bigint;
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
55
|
* Stores the bitwise OR of a value with the value at the given position in the array,
|
|
56
56
|
* returning the original value. Until this atomic operation completes, any other read or write
|
|
57
57
|
* operation against the array will block.
|
|
58
58
|
*/
|
|
59
|
-
or(typedArray: BigInt64Array | BigUint64Array
|
|
59
|
+
or(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint;
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
62
|
* Stores a value at the given position in the array, returning the new value. Until this
|
|
63
63
|
* atomic operation completes, any other read or write operation against the array will block.
|
|
64
64
|
*/
|
|
65
|
-
store(typedArray: BigInt64Array | BigUint64Array
|
|
65
|
+
store(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint;
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
68
|
* Subtracts a value from the value at the given position in the array, returning the original
|
|
69
69
|
* value. Until this atomic operation completes, any other read or write operation against the
|
|
70
70
|
* array will block.
|
|
71
71
|
*/
|
|
72
|
-
sub(typedArray: BigInt64Array | BigUint64Array
|
|
72
|
+
sub(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint;
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
75
|
* If the value at the given position in the array is equal to the provided value, the current
|
|
@@ -77,7 +77,7 @@ interface Atomics {
|
|
|
77
77
|
* `"timed-out"`) or until the agent is awoken (returning `"ok"`); otherwise, returns
|
|
78
78
|
* `"not-equal"`.
|
|
79
79
|
*/
|
|
80
|
-
wait(typedArray: BigInt64Array
|
|
80
|
+
wait(typedArray: BigInt64Array<ArrayBufferLike>, index: number, value: bigint, timeout?: number): "ok" | "not-equal" | "timed-out";
|
|
81
81
|
|
|
82
82
|
/**
|
|
83
83
|
* Wakes up sleeping agents that are waiting on the given index of the array, returning the
|
|
@@ -86,12 +86,12 @@ interface Atomics {
|
|
|
86
86
|
* @param index The position in the typedArray to wake up on.
|
|
87
87
|
* @param count The number of sleeping agents to notify. Defaults to +Infinity.
|
|
88
88
|
*/
|
|
89
|
-
notify(typedArray: BigInt64Array
|
|
89
|
+
notify(typedArray: BigInt64Array<ArrayBufferLike>, index: number, count?: number): number;
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
92
|
* Stores the bitwise XOR of a value with the value at the given position in the array,
|
|
93
93
|
* returning the original value. Until this atomic operation completes, any other read or write
|
|
94
94
|
* operation against the array will block.
|
|
95
95
|
*/
|
|
96
|
-
xor(typedArray: BigInt64Array | BigUint64Array
|
|
96
|
+
xor(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint;
|
|
97
97
|
}
|
|
@@ -32,7 +32,7 @@ interface ReadonlyArray<T> {
|
|
|
32
32
|
at(index: number): T | undefined;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
interface Int8Array {
|
|
35
|
+
interface Int8Array<Buffer extends ArrayBufferLike> {
|
|
36
36
|
/**
|
|
37
37
|
* Returns the item located at the specified index.
|
|
38
38
|
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
|
@@ -40,7 +40,7 @@ interface Int8Array {
|
|
|
40
40
|
at(index: number): number | undefined;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
interface Uint8Array {
|
|
43
|
+
interface Uint8Array<Buffer extends ArrayBufferLike> {
|
|
44
44
|
/**
|
|
45
45
|
* Returns the item located at the specified index.
|
|
46
46
|
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
|
@@ -48,7 +48,7 @@ interface Uint8Array {
|
|
|
48
48
|
at(index: number): number | undefined;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
interface Uint8ClampedArray {
|
|
51
|
+
interface Uint8ClampedArray<Buffer extends ArrayBufferLike> {
|
|
52
52
|
/**
|
|
53
53
|
* Returns the item located at the specified index.
|
|
54
54
|
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
|
@@ -56,7 +56,7 @@ interface Uint8ClampedArray {
|
|
|
56
56
|
at(index: number): number | undefined;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
interface Int16Array {
|
|
59
|
+
interface Int16Array<Buffer extends ArrayBufferLike> {
|
|
60
60
|
/**
|
|
61
61
|
* Returns the item located at the specified index.
|
|
62
62
|
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
|
@@ -64,7 +64,7 @@ interface Int16Array {
|
|
|
64
64
|
at(index: number): number | undefined;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
interface Uint16Array {
|
|
67
|
+
interface Uint16Array<Buffer extends ArrayBufferLike> {
|
|
68
68
|
/**
|
|
69
69
|
* Returns the item located at the specified index.
|
|
70
70
|
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
|
@@ -72,7 +72,7 @@ interface Uint16Array {
|
|
|
72
72
|
at(index: number): number | undefined;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
interface Int32Array {
|
|
75
|
+
interface Int32Array<Buffer extends ArrayBufferLike> {
|
|
76
76
|
/**
|
|
77
77
|
* Returns the item located at the specified index.
|
|
78
78
|
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
|
@@ -80,7 +80,7 @@ interface Int32Array {
|
|
|
80
80
|
at(index: number): number | undefined;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
interface Uint32Array {
|
|
83
|
+
interface Uint32Array<Buffer extends ArrayBufferLike> {
|
|
84
84
|
/**
|
|
85
85
|
* Returns the item located at the specified index.
|
|
86
86
|
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
|
@@ -88,7 +88,7 @@ interface Uint32Array {
|
|
|
88
88
|
at(index: number): number | undefined;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
interface Float32Array {
|
|
91
|
+
interface Float32Array<Buffer extends ArrayBufferLike> {
|
|
92
92
|
/**
|
|
93
93
|
* Returns the item located at the specified index.
|
|
94
94
|
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
|
@@ -96,7 +96,7 @@ interface Float32Array {
|
|
|
96
96
|
at(index: number): number | undefined;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
interface Float64Array {
|
|
99
|
+
interface Float64Array<Buffer extends ArrayBufferLike> {
|
|
100
100
|
/**
|
|
101
101
|
* Returns the item located at the specified index.
|
|
102
102
|
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
|
@@ -104,7 +104,7 @@ interface Float64Array {
|
|
|
104
104
|
at(index: number): number | undefined;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
interface BigInt64Array {
|
|
107
|
+
interface BigInt64Array<Buffer extends ArrayBufferLike> {
|
|
108
108
|
/**
|
|
109
109
|
* Returns the item located at the specified index.
|
|
110
110
|
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
|
@@ -112,7 +112,7 @@ interface BigInt64Array {
|
|
|
112
112
|
at(index: number): bigint | undefined;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
interface BigUint64Array {
|
|
115
|
+
interface BigUint64Array<Buffer extends ArrayBufferLike> {
|
|
116
116
|
/**
|
|
117
117
|
* Returns the item located at the specified index.
|
|
118
118
|
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|