@typescript-deploys/pr-build 5.0.0-pr-50996-9 → 5.0.0-pr-51725-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.
@@ -22,6 +22,20 @@ interface Atomics {
22
22
  /**
23
23
  * A non-blocking, asynchronous version of wait which is usable on the main thread.
24
24
  * Waits asynchronously on a shared memory location and returns a Promise
25
+ * @param typedArray A shared Int32Array or BigInt64Array.
26
+ * @param index The position in the typedArray to wait on.
27
+ * @param value The expected value to test.
28
+ * @param [timeout] The expected value to test.
25
29
  */
26
- waitAsync(typedArray: BigInt64Array | Int32Array, index: number, value: bigint, timeout?: number): { async: false, value: "ok" | "not-equal" | "timed-out" } | { async: true, value: Promise<"ok" | "not-equal" | "timed-out"> };
30
+ waitAsync(typedArray: Int32Array, index: number, value: number, timeout?: number): { async: false, value: "not-equal" | "timed-out" } | { async: true, value: Promise<"ok" | "timed-out"> };
31
+
32
+ /**
33
+ * A non-blocking, asynchronous version of wait which is usable on the main thread.
34
+ * Waits asynchronously on a shared memory location and returns a Promise
35
+ * @param typedArray A shared Int32Array or BigInt64Array.
36
+ * @param index The position in the typedArray to wait on.
37
+ * @param value The expected value to test.
38
+ * @param [timeout] The expected value to test.
39
+ */
40
+ waitAsync(typedArray: BigInt64Array, index: number, value: bigint, timeout?: number): { async: false, value: "not-equal" | "timed-out" } | { async: true, value: Promise<"ok" | "timed-out"> };
27
41
  }