Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Nov 3, 2023
1 parent e239a91 commit 6f39703
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion .github/.keepalive

This file was deleted.

14 changes: 7 additions & 7 deletions docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import ArrayBuffer = require( '@stdlib/array-buffer' );
* var arr = typedarray( 'float32');
* // returns <Float32Array>
*/
declare function typedarray( dtype?: RealOrComplexDataType ): RealOrComplexTypedArray; // tslint:disable-line:max-line-length
declare function typedarray( dtype?: RealOrComplexDataType ): RealOrComplexTypedArray;

/**
* Creates a typed array.
Expand All @@ -56,7 +56,7 @@ declare function typedarray( dtype?: RealOrComplexDataType ): RealOrComplexTyped
* var arr = typedarray( 2, 'float32' );
* // returns <Float32Array>[ 0.0, 0.0 ]
*/
declare function typedarray( length: number, dtype?: RealOrComplexDataType ): RealOrComplexTypedArray; // tslint:disable-line:max-line-length
declare function typedarray( length: number, dtype?: RealOrComplexDataType ): RealOrComplexTypedArray;

/**
* Creates a typed array.
Expand All @@ -83,7 +83,7 @@ declare function typedarray( length: number, dtype?: RealOrComplexDataType ): Re
* var arr2 = typedarray( arr1, 'uint32' );
* // returns <Uint32Array>[ 5, 3 ]
*/
declare function typedarray( typedarray: RealOrComplexTypedArray, dtype?: RealOrComplexDataType ): RealOrComplexTypedArray; // tslint:disable-line:max-line-length
declare function typedarray( typedarray: RealOrComplexTypedArray, dtype?: RealOrComplexDataType ): RealOrComplexTypedArray;

/**
* Creates a typed array.
Expand All @@ -100,7 +100,7 @@ declare function typedarray( typedarray: RealOrComplexTypedArray, dtype?: RealOr
* var arr = typedarray( [ 5, -3 ], 'int32' );
* // returns <Int32Array>[ 5, -3 ]
*/
declare function typedarray( obj: ArrayLike<number> | Iterable<any>, dtype?: RealOrComplexDataType ): RealOrComplexTypedArray; // tslint:disable-line:max-line-length
declare function typedarray( obj: ArrayLike<number> | Iterable<any>, dtype?: RealOrComplexDataType ): RealOrComplexTypedArray;

/**
* Creates a typed array.
Expand All @@ -123,7 +123,7 @@ declare function typedarray( obj: ArrayLike<number> | Iterable<any>, dtype?: Rea
* var arr = typedarray( buf, 'float32' );
* // returns <Float32Array>[ 0.0, 0.0, 0.0, 0.0 ]
*/
declare function typedarray( buffer: ArrayBuffer, dtype?: RealOrComplexDataType ): RealOrComplexTypedArray; // tslint:disable-line:max-line-length
declare function typedarray( buffer: ArrayBuffer, dtype?: RealOrComplexDataType ): RealOrComplexTypedArray;

/**
* Creates a typed array.
Expand All @@ -147,7 +147,7 @@ declare function typedarray( buffer: ArrayBuffer, dtype?: RealOrComplexDataType
* var arr = typedarray( buf, 8, 'float32' );
* // returns <Float32Array>[ 0.0, 0.0 ]
*/
declare function typedarray( buffer: ArrayBuffer, byteOffset?: number, dtype?: RealOrComplexDataType ): RealOrComplexTypedArray; // tslint:disable-line:max-line-length
declare function typedarray( buffer: ArrayBuffer, byteOffset?: number, dtype?: RealOrComplexDataType ): RealOrComplexTypedArray;

/**
* Creates a typed array.
Expand All @@ -172,7 +172,7 @@ declare function typedarray( buffer: ArrayBuffer, byteOffset?: number, dtype?: R
* var arr = typedarray( buf, 8, 2, 'int32' );
* // returns <Int32Array>[ 0, 0 ]
*/
declare function typedarray( buffer: ArrayBuffer, byteOffset?: number, length?: number, dtype?: RealOrComplexDataType ): RealOrComplexTypedArray; // tslint:disable-line:max-line-length
declare function typedarray( buffer: ArrayBuffer, byteOffset?: number, length?: number, dtype?: RealOrComplexDataType ): RealOrComplexTypedArray;


// EXPORTS //
Expand Down

0 comments on commit 6f39703

Please sign in to comment.