Skip to content

Commit ec0a8cb

Browse files
committed
Update declarations
1 parent 1b22215 commit ec0a8cb

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

  • lib/node_modules/@stdlib/array/convert/docs/types

lib/node_modules/@stdlib/array/convert/docs/types/index.d.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,9 @@
2020

2121
/// <reference types="@stdlib/types"/>
2222

23-
import { RealOrComplexTypedArray, Complex128Array, Complex64Array, DataType } from '@stdlib/types/array';
23+
import { AnyArray, Complex128Array, Complex64Array, DataType } from '@stdlib/types/array';
2424
import { Collection } from '@stdlib/types/object';
2525

26-
/**
27-
* Array or typed array.
28-
*/
29-
type ArrayOrTypedArray = Array<any> | RealOrComplexTypedArray;
30-
3126
/**
3227
* Converts an array to a `Float64Array`.
3328
*
@@ -208,7 +203,7 @@ declare function convert( x: Collection, dtype: 'generic' ): Array<any>;
208203
* var out = convert( arr, 'float64' );
209204
* // returns <Float64Array>[ 1.0, 2.0, 3.0, 4.0 ]
210205
*/
211-
declare function convert( x: Collection, dtype: DataType ): ArrayOrTypedArray;
206+
declare function convert( x: Collection, dtype: DataType ): AnyArray;
212207

213208

214209
// EXPORTS //

0 commit comments

Comments
 (0)