Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-html / node_modules / typescript / lib / lib.es2017.sharedmemory.d.ts
index 2a40ea774438f23e657aeeefbec157bb0e035bd8..0f69609af920c2abf9b0f1fc9e261f5ea0c265e3 100644 (file)
@@ -27,10 +27,6 @@ interface SharedArrayBuffer {
      */\r
     readonly byteLength: number;\r
 \r
-    /*\r
-     * The SharedArrayBuffer constructor's length property whose value is 1.\r
-     */\r
-    length: number;\r
     /**\r
      * Returns a section of an SharedArrayBuffer.\r
      */\r
@@ -122,8 +118,11 @@ interface Atomics {
     /**\r
      * Wakes up sleeping agents that are waiting on the given index of the array, returning the\r
      * number of agents that were awoken.\r
+     * @param typedArray A shared Int32Array.\r
+     * @param index The position in the typedArray to wake up on.\r
+     * @param count The number of sleeping agents to notify. Defaults to +Infinity.\r
      */\r
-    notify(typedArray: Int32Array, index: number, count: number): number;\r
+    notify(typedArray: Int32Array, index: number, count?: number): number;\r
 \r
     /**\r
      * Stores the bitwise XOR of a value with the value at the given position in the array,\r