Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

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

import { ndarray } from '@stdlib/types/ndarray';
import { ndarray, DataType } from '@stdlib/types/ndarray';
import { Collection, AccessorArrayLike } from '@stdlib/types/array';

/**
Expand Down Expand Up @@ -81,7 +81,7 @@
* var ybuf = y.data;
* // returns <Float64Array>[ 4.0, 2.0, -3.0, 5.0, -1.0 ]
*/
declare function factory<T extends Collection | AccessorArrayLike<any>>( base: BaseFunction<T>, dtype: any ): SwapFunction;
declare function factory<T extends Collection | AccessorArrayLike<any>>( base: BaseFunction<T>, dtype: DataType ): SwapFunction;

Check warning on line 84 in lib/node_modules/@stdlib/blas/tools/swap-factory/docs/types/index.d.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected any. Specify a different type


// EXPORTS //
Expand Down