File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
lib/node_modules/@stdlib/array/pool/docs/types Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 2020
2121/// <reference types="@stdlib/types"/>
2222
23- import { ArrayLike , TypedArray , ComplexTypedArray } from '@stdlib/types/array' ;
23+ import { ArrayLike , RealOrComplexTypedArray , RealOrComplexDataType as DataType } from '@stdlib/types/array' ;
2424import ArrayBuffer = require( '@stdlib/array/buffer' ) ;
2525
26- type DataType = 'float64' | 'float32' | 'int32' | 'uint32' | 'int16' | 'uint16' | 'int8' | 'uint8' | 'uint8c' | 'complex64' | 'complex128' ; // tslint-disable-line max-line-length
27-
2826/**
2927* Typed array or null.
3028*/
31- type TypedArrayOrNull = TypedArray | ComplexTypedArray | null ;
29+ type TypedArrayOrNull = RealOrComplexTypedArray | null ;
3230
3331/**
3432* Interface defining pool options.
@@ -257,7 +255,7 @@ interface Pool {
257255 * // Free the allocated typed array buffer for use in a future allocation:
258256 * typedarraypool.free( arr.buffer );
259257 */
260- free ( buf : TypedArray | ArrayBuffer ) : void ;
258+ free ( buf : RealOrComplexTypedArray | ArrayBuffer ) : void ;
261259
262260 /**
263261 * Clears the typed array pool allowing garbage collection of previously allocated (and currently free) array buffers.
You can’t perform that action at this time.
0 commit comments