You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.js
+8-12Lines changed: 8 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ export default class Flatbush {
9
9
10
10
/**
11
11
* Recreate a Flatbush index from raw `ArrayBuffer` or `SharedArrayBuffer` data.
12
-
* @param {ArrayBuffer | SharedArrayBuffer} data
12
+
* @param {ArrayBufferLike} data
13
13
* @param {number} [byteOffset=0] byte offset to the start of the Flatbush buffer in the referenced ArrayBuffer.
14
14
* @returns {Flatbush} index
15
15
*/
@@ -47,7 +47,7 @@ export default class Flatbush {
47
47
* @param {number} [nodeSize=16] Size of the tree node (16 by default).
48
48
* @param {TypedArrayConstructor} [ArrayType=Float64Array] The array type used for coordinates storage (`Float64Array` by default).
49
49
* @param {ArrayBufferConstructor | SharedArrayBufferConstructor} [ArrayBufferType=ArrayBuffer] The array buffer type used to store data (`ArrayBuffer` by default).
50
-
* @param {ArrayBuffer | SharedArrayBuffer} [data] (Only used internally)
50
+
* @param {ArrayBufferLike} [data] (Only used internally)
51
51
* @param {number} [byteOffset=0] (Only used internally)
0 commit comments