Skip to content

Commit caa8dc2

Browse files
Merge pull request #29115 from KromDaniel/patch-1
Duplicate `wait` instead of `wait` and `notify` at `es2017.sharedmemory.d.ts`
2 parents 2f7627b + 490f69f commit caa8dc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/es2017.sharedmemory.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ interface Atomics {
103103
* Wakes up sleeping agents that are waiting on the given index of the array, returning the
104104
* number of agents that were awoken.
105105
*/
106-
wake(typedArray: Int32Array, index: number, count: number): number;
106+
notify(typedArray: Int32Array, index: number, count: number): number;
107107

108108
/**
109109
* Stores the bitwise XOR of a value with the value at the given position in the array,
@@ -115,4 +115,4 @@ interface Atomics {
115115
readonly [Symbol.toStringTag]: "Atomics";
116116
}
117117

118-
declare var Atomics: Atomics;
118+
declare var Atomics: Atomics;

0 commit comments

Comments
 (0)