Skip to content

Commit db5a791

Browse files
committed
[types] add an additional overload
1 parent 8e289a9 commit db5a791

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ declare function whichTypedArray(value: Float32Array): 'Float32Array';
1515
declare function whichTypedArray(value: Float64Array): 'Float64Array';
1616
declare function whichTypedArray(value: BigInt64Array): 'BigInt64Array';
1717
declare function whichTypedArray(value: BigUint64Array): 'BigUint64Array';
18+
declare function whichTypedArray(value: whichTypedArray.TypedArray): whichTypedArray.TypedArrayName;
1819
declare function whichTypedArray(value: unknown): false | null;
1920

2021
declare namespace whichTypedArray {

0 commit comments

Comments
 (0)