Skip to content

Commit 7f368f6

Browse files
committed
fix: remove unused imports from TS declaration file
1 parent ff9fa81 commit 7f368f6

File tree

12 files changed

+9
-13
lines changed

12 files changed

+9
-13
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

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

23-
import { Collection } from '@stdlib/types/array';
2423
import { Shape2D } from '@stdlib/types/ndarray';
2524

2625
/**

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

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

23-
import { Collection } from '@stdlib/types/array';
2423
import { Shape3D } from '@stdlib/types/ndarray';
2524

2625
/**

lib/node_modules/@stdlib/blas/ext/base/gfill-by/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const fill = (): number => {
7070
gfillBy( x.length, x, undefined, fill ); // $ExpectError
7171
gfillBy( x.length, x, [], fill ); // $ExpectError
7272
gfillBy( x.length, x, {}, fill ); // $ExpectError
73-
gfillBy( x.length, x, ( x: number, fill ): number => x, fill ); // $ExpectError
73+
gfillBy( x.length, x, ( x: number ): number => x, fill ); // $ExpectError
7474
}
7575

7676
// The compiler throws an error if the function is provided a fourth argument which is not a function...

lib/node_modules/@stdlib/ndarray/base/slice-dimension-from/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
/// <reference types="@stdlib/types"/>
2222

2323
import { typedndarray, genericndarray, float64ndarray, float32ndarray, int32ndarray, int16ndarray, int8ndarray, uint32ndarray, uint16ndarray, uint8ndarray, uint8cndarray, complex128ndarray, complex64ndarray } from '@stdlib/types/ndarray';
24-
import { ArrayLike } from '@stdlib/types/array';
2524

2625
/**
2726
* Returns a shifted view of an input ndarray along a specified dimension.
@@ -494,6 +493,7 @@ declare function sliceDimensionFrom<T = unknown>( x: genericndarray<T>, dim: num
494493
* Returns a shifted view of an input ndarray along a specified dimension.
495494
*
496495
* @param x - input array
496+
* @param dim - index of dimension to slice
497497
* @param start - starting index (inclusive)
498498
* @param strict - boolean indicating whether to enforce strict bounds checking
499499
* @param writable - boolean indicating whether a returned array should be writable

lib/node_modules/@stdlib/ndarray/base/slice-dimension-to/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
/// <reference types="@stdlib/types"/>
2222

2323
import { typedndarray, genericndarray, float64ndarray, float32ndarray, int32ndarray, int16ndarray, int8ndarray, uint32ndarray, uint16ndarray, uint8ndarray, uint8cndarray, complex128ndarray, complex64ndarray } from '@stdlib/types/ndarray';
24-
import { ArrayLike } from '@stdlib/types/array';
2524

2625
/**
2726
* Returns a truncated view of an input ndarray along a specified dimension.
@@ -494,6 +493,7 @@ declare function sliceDimensionTo<T = unknown>( x: genericndarray<T>, dim: numbe
494493
* Returns a truncated view of an input ndarray along a specified dimension.
495494
*
496495
* @param x - input array
496+
* @param dim - index of dimension to slice
497497
* @param stop - ending index (exclusive)
498498
* @param strict - boolean indicating whether to enforce strict bounds checking
499499
* @param writable - boolean indicating whether a returned array should be writable

lib/node_modules/@stdlib/ndarray/base/transpose/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

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

23-
import { ndarray, float64ndarray, float32ndarray, int32ndarray, int16ndarray, int8ndarray, uint32ndarray, uint16ndarray, uint8ndarray, uint8cndarray, complex128ndarray, complex64ndarray, DataType } from '@stdlib/types/ndarray';
23+
import { ndarray, float64ndarray, float32ndarray, int32ndarray, int16ndarray, int8ndarray, uint32ndarray, uint16ndarray, uint8ndarray, uint8cndarray, complex128ndarray, complex64ndarray } from '@stdlib/types/ndarray';
2424

2525
/**
2626
* Transposes a matrix (or a stack of matrices).

lib/node_modules/@stdlib/ndarray/iter/column-entries/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/// <reference types="@stdlib/types"/>
2222

2323
import { TypedIterator, TypedIterableIterator } from '@stdlib/types/iter';
24-
import { typedndarray, Order } from '@stdlib/types/ndarray';
24+
import { typedndarray } from '@stdlib/types/ndarray';
2525

2626
// Define a union type representing both iterable and non-iterable iterators:
2727
type Iterator<T> = TypedIterator<T> | TypedIterableIterator<T>;

lib/node_modules/@stdlib/ndarray/iter/matrix-entries/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/// <reference types="@stdlib/types"/>
2222

2323
import { TypedIterator, TypedIterableIterator } from '@stdlib/types/iter';
24-
import { typedndarray, Order } from '@stdlib/types/ndarray';
24+
import { typedndarray } from '@stdlib/types/ndarray';
2525

2626
// Define a union type representing both iterable and non-iterable iterators:
2727
type Iterator<T> = TypedIterator<T> | TypedIterableIterator<T>;

lib/node_modules/@stdlib/ndarray/iter/row-entries/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/// <reference types="@stdlib/types"/>
2222

2323
import { TypedIterator, TypedIterableIterator } from '@stdlib/types/iter';
24-
import { typedndarray, Order } from '@stdlib/types/ndarray';
24+
import { typedndarray } from '@stdlib/types/ndarray';
2525

2626
// Define a union type representing both iterable and non-iterable iterators:
2727
type Iterator<T> = TypedIterator<T> | TypedIterableIterator<T>;

lib/node_modules/@stdlib/ndarray/slice-dimension-from/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
/// <reference types="@stdlib/types"/>
2222

2323
import { typedndarray, genericndarray, float64ndarray, float32ndarray, int32ndarray, int16ndarray, int8ndarray, uint32ndarray, uint16ndarray, uint8ndarray, uint8cndarray, complex128ndarray, complex64ndarray } from '@stdlib/types/ndarray';
24-
import { ArrayLike } from '@stdlib/types/array';
2524

2625
/**
2726
* Interface defining function options.
@@ -504,6 +503,7 @@ declare function sliceDimensionFrom<T = unknown>( x: genericndarray<T>, dim: num
504503
* Returns a read-only shifted view of an input ndarray along a specified dimension.
505504
*
506505
* @param x - input array
506+
* @param dim - index of dimension to slice
507507
* @param start - starting index (inclusive)
508508
* @param options - function options
509509
* @param options.strict - boolean indicating whether to enforce strict bounds checking

0 commit comments

Comments
 (0)