diff options
Diffstat (limited to 'cli/dts/lib.es2017.sharedmemory.d.ts')
-rw-r--r-- | cli/dts/lib.es2017.sharedmemory.d.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cli/dts/lib.es2017.sharedmemory.d.ts b/cli/dts/lib.es2017.sharedmemory.d.ts index f9adca032..43689e7c8 100644 --- a/cli/dts/lib.es2017.sharedmemory.d.ts +++ b/cli/dts/lib.es2017.sharedmemory.d.ts @@ -122,8 +122,11 @@ interface Atomics { /** * Wakes up sleeping agents that are waiting on the given index of the array, returning the * number of agents that were awoken. + * @param typedArray A shared Int32Array. + * @param index The position in the typedArray to wake up on. + * @param count The number of sleeping agents to notify. Defaults to +Infinity. */ - notify(typedArray: Int32Array, index: number, count: number): number; + notify(typedArray: Int32Array, index: number, count?: number): number; /** * Stores the bitwise XOR of a value with the value at the given position in the array, |