Skip to content

Commit c26d8b5

Browse files
authored
refactor: remove redundant generic constraint in blas/ext/base/ndarray/gsort
PR-URL: #12545 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 359a92f commit c26d8b5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • lib/node_modules/@stdlib/blas/ext/base/ndarray/gsort/docs/types

lib/node_modules/@stdlib/blas/ext/base/ndarray/gsort/docs/types/index.d.ts

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

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

23-
import { typedndarray, genericndarray } from '@stdlib/types/ndarray';
23+
import { typedndarray } from '@stdlib/types/ndarray';
2424

2525
/**
2626
* Sorts a one-dimensional ndarray.
@@ -50,7 +50,7 @@ import { typedndarray, genericndarray } from '@stdlib/types/ndarray';
5050
* var out = gsort( [ x, ord ] );
5151
* // returns <ndarray>[ -4.0, -2.0, 1.0, 3.0 ]
5252
*/
53-
declare function gsort<T extends typedndarray<unknown> | genericndarray<unknown> = typedndarray<unknown>>( arrays: [ T, typedndarray<number> ] ): T;
53+
declare function gsort<T extends typedndarray<unknown> = typedndarray<unknown>>( arrays: [ T, typedndarray<number> ] ): T;
5454

5555

5656
// EXPORTS //

0 commit comments

Comments
 (0)