File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change
1
+ /**
2
+ * Determines the type of the given collection, or returns false.
3
+ *
4
+ * @param {unknown } value The potential collection
5
+ * @returns {TypedArrayName | false | null } 'Int8Array' | 'Uint8Array' | 'Uint8ClampedArray' | 'Int16Array' | 'Uint16Array' | 'Int32Array' | 'Uint32Array' | 'Float32Array' | 'Float64Array' | 'BigInt64Array' | 'BigUint64Array' | false | null
6
+ */
1
7
declare function whichTypedArray ( value : Int8Array ) : 'Int8Array' ;
2
8
declare function whichTypedArray ( value : Uint8Array ) : 'Uint8Array' ;
3
9
declare function whichTypedArray ( value : Uint8ClampedArray ) : 'Uint8ClampedArray' ;
@@ -52,4 +58,4 @@ declare namespace whichTypedArray {
52
58
| BigUint64ArrayConstructor ;
53
59
}
54
60
55
- export = whichTypedArray ;
61
+ export = whichTypedArray ;
You can’t perform that action at this time.
0 commit comments