Skip to content

Commit 02dd206

Browse files
committed
Auto-generated commit
1 parent aa176eb commit 02dd206

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Joey Reed <joeyrreed@gmail.com>
1616
Jordan-Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com>
1717
Joris Labie <joris.labie1@gmail.com>
1818
Justin Dennison <justin1dennison@gmail.com>
19+
KATTA NAGA NITHIN <88046362+nithinkatta@users.noreply.github.com>
1920
Marcus <mfantham@users.noreply.github.com>
2021
Matt Cochrane <matthew.cochrane.eng@gmail.com>
2122
Milan Raj <rajsite@users.noreply.github.com>

docs/types/index.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818

1919
// TypeScript Version: 2.0
2020

21+
/// <reference types="@stdlib/types"/>
22+
23+
import { TypedArray } from '@stdlib/types/array';
24+
2125
/**
2226
* Tests if a value is a typed array.
2327
*
@@ -30,7 +34,7 @@
3034
* var bool = isTypedArray( new Int8Array( 10 ) );
3135
* // returns true
3236
*/
33-
declare function isTypedArray( value: any ): boolean;
37+
declare function isTypedArray( value: any ): value is TypedArray;
3438

3539

3640
// EXPORTS //

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
"@stdlib/array-uint8": "^0.0.7",
4848
"@stdlib/array-uint8c": "^0.0.8",
4949
"@stdlib/assert-has-float64array-support": "^0.0.8",
50+
"@stdlib/types": "^0.0.14",
5051
"@stdlib/utils-constructor-name": "^0.0.8",
5152
"@stdlib/utils-function-name": "^0.0.8",
5253
"@stdlib/utils-get-prototype-of": "^0.0.7"

0 commit comments

Comments
 (0)