Skip to content

Commit 6a9cc0e

Browse files
committed
build: replace tslint directive with eslint equivalent
1 parent 5497c40 commit 6a9cc0e

File tree

6 files changed

+41
-41
lines changed

6 files changed

+41
-41
lines changed

lib/node_modules/@stdlib/array/filled-by/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ type Callback = Nullary | Unary;
8080
* var arr = filledarrayBy( 'float32' );
8181
* // returns <Float32Array>
8282
*/
83-
declare function filledarrayBy( dtype?: DataType ): ArrayOrTypedArray; // tslint:disable-line:unified-signatures
83+
declare function filledarrayBy( dtype?: DataType ): ArrayOrTypedArray; // eslint-disable-line @typescript-eslint/unified-signatures
8484

8585
/**
8686
* Creates a filled array according to a provided callback function and having a specified `length`.

lib/node_modules/@stdlib/array/next-dtype/docs/types/index.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ declare function nextDataType( dtype: 'float32' ): 'float64';
7878
* var dt = nextDataType( 'int32' );
7979
* // returns -1
8080
*/
81-
declare function nextDataType( dtype: 'int32' ): number; // tslint:disable-line:unified-signatures
81+
declare function nextDataType( dtype: 'int32' ): number; // eslint-disable-line @typescript-eslint/unified-signatures
8282

8383
/**
8484
* Returns the next larger array data type of the same kind.
@@ -126,7 +126,7 @@ declare function nextDataType( dtype: 'int8' ): 'int16';
126126
* var dt = nextDataType( 'uint32' );
127127
* // returns -1
128128
*/
129-
declare function nextDataType( dtype: 'uint32' ): number; // tslint:disable-line:unified-signatures
129+
declare function nextDataType( dtype: 'uint32' ): number; // eslint-disable-line @typescript-eslint/unified-signatures
130130

131131
/**
132132
* Returns the next larger array data type of the same kind.
@@ -174,7 +174,7 @@ declare function nextDataType( dtype: 'uint8' ): 'uint16';
174174
* var dt = nextDataType( 'uint8c' );
175175
* // returns 'uint16'
176176
*/
177-
declare function nextDataType( dtype: 'uint8c' ): 'uint16'; // tslint:disable-line:unified-signatures
177+
declare function nextDataType( dtype: 'uint8c' ): 'uint16'; // eslint-disable-line @typescript-eslint/unified-signatures
178178

179179
/**
180180
* Returns the next larger array data type of the same kind.
@@ -190,7 +190,7 @@ declare function nextDataType( dtype: 'uint8c' ): 'uint16'; // tslint:disable-li
190190
* var dt = nextDataType( 'generic' );
191191
* // returns -1
192192
*/
193-
declare function nextDataType( dtype: 'generic' ): number; // tslint:disable-line:unified-signatures
193+
declare function nextDataType( dtype: 'generic' ): number; // eslint-disable-line @typescript-eslint/unified-signatures
194194

195195
/**
196196
* Returns the next larger array data type of the same kind.
@@ -206,7 +206,7 @@ declare function nextDataType( dtype: 'generic' ): number; // tslint:disable-lin
206206
* var dt = nextDataType( 'complex128' );
207207
* // returns -1
208208
*/
209-
declare function nextDataType( dtype: 'complex128' ): number; // tslint:disable-line:unified-signatures
209+
declare function nextDataType( dtype: 'complex128' ): number; // eslint-disable-line @typescript-eslint/unified-signatures
210210

211211
/**
212212
* Returns the next larger array data type of the same kind.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ interface Dispatcher {
146146
* fcn( x, y );
147147
* // ybuf => <Float64Array>[ 1.0, 2.0, 3.0 ]
148148
*/
149-
( x: ndarray, y: ndarray ): ndarray | void; // tslint:disable-line:unified-signatures
149+
( x: ndarray, y: ndarray ): ndarray | void; // eslint-disable-line @typescript-eslint/unified-signatures
150150

151151
/**
152152
* Invokes an ndarray function based on the provided array data types.
@@ -186,7 +186,7 @@ interface Dispatcher {
186186
* fcn( x, y, z );
187187
* // zbuf => <Float64Array>[ 2.0, 4.0, 6.0 ]
188188
*/
189-
( x: ndarray, y: ndarray, z: ndarray ): ndarray | void; // tslint:disable-line:unified-signatures
189+
( x: ndarray, y: ndarray, z: ndarray ): ndarray | void; // eslint-disable-line @typescript-eslint/unified-signatures
190190

191191
/**
192192
* Invokes an ndarray function based on the provided array data types.
@@ -229,7 +229,7 @@ interface Dispatcher {
229229
* fcn( x, y, z, w );
230230
* // wbuf => <Float64Array>[ 3.0, 6.0, 9.0 ]
231231
*/
232-
( x: ndarray, y: ndarray, z: ndarray, w: ndarray ): ndarray | void; // tslint:disable-line:unified-signatures
232+
( x: ndarray, y: ndarray, z: ndarray, w: ndarray ): ndarray | void; // eslint-disable-line @typescript-eslint/unified-signatures
233233

234234
/**
235235
* Invokes an ndarray function based on the provided array data types.

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ declare function sliceAssign( x: ndarray, y: float64ndarray, s: MultiSlice, opti
161161
* arr = ndarray2array( y );
162162
* // returns [ [ [ 6.0, 5.0 ], [ 4.0, 3.0 ], [ 2.0, 1.0 ] ], [ [ 6.0, 5.0 ], [ 4.0, 3.0 ], [ 2.0, 1.0 ] ] ]
163163
*/
164-
declare function sliceAssign( x: ndarray, y: float64ndarray, s: ArrayLike<SliceArgument>, options?: Options ): float64ndarray; // tslint:disable-line:unified-signatures
164+
declare function sliceAssign( x: ndarray, y: float64ndarray, s: ArrayLike<SliceArgument>, options?: Options ): float64ndarray; // eslint-disable-line @typescript-eslint/unified-signatures
165165

166166
/**
167167
* Assigns element values from a broadcasted input ndarray to corresponding elements in an output ndarray view.
@@ -343,7 +343,7 @@ declare function sliceAssign( x: ndarray, y: float32ndarray, s: MultiSlice, opti
343343
* arr = ndarray2array( y );
344344
* // returns [ [ [ 6.0, 5.0 ], [ 4.0, 3.0 ], [ 2.0, 1.0 ] ], [ [ 6.0, 5.0 ], [ 4.0, 3.0 ], [ 2.0, 1.0 ] ] ]
345345
*/
346-
declare function sliceAssign( x: ndarray, y: float32ndarray, s: ArrayLike<SliceArgument>, options?: Options ): float32ndarray; // tslint:disable-line:unified-signatures
346+
declare function sliceAssign( x: ndarray, y: float32ndarray, s: ArrayLike<SliceArgument>, options?: Options ): float32ndarray; // eslint-disable-line @typescript-eslint/unified-signatures
347347

348348
/**
349349
* Assigns element values from a broadcasted input ndarray to corresponding elements in an output ndarray view.
@@ -525,7 +525,7 @@ declare function sliceAssign( x: ndarray, y: int32ndarray, s: MultiSlice, option
525525
* arr = ndarray2array( y );
526526
* // returns [ [ [ 6, 5 ], [ 4, 3 ], [ 2, 1 ] ], [ [ 6, 5 ], [ 4, 3 ], [ 2, 1 ] ] ]
527527
*/
528-
declare function sliceAssign( x: ndarray, y: int32ndarray, s: ArrayLike<SliceArgument>, options?: Options ): int32ndarray; // tslint:disable-line:unified-signatures
528+
declare function sliceAssign( x: ndarray, y: int32ndarray, s: ArrayLike<SliceArgument>, options?: Options ): int32ndarray; // eslint-disable-line @typescript-eslint/unified-signatures
529529

530530
/**
531531
* Assigns element values from a broadcasted input ndarray to corresponding elements in an output ndarray view.
@@ -707,7 +707,7 @@ declare function sliceAssign( x: ndarray, y: int16ndarray, s: MultiSlice, option
707707
* arr = ndarray2array( y );
708708
* // returns [ [ [ 6, 5 ], [ 4, 3 ], [ 2, 1 ] ], [ [ 6, 5 ], [ 4, 3 ], [ 2, 1 ] ] ]
709709
*/
710-
declare function sliceAssign( x: ndarray, y: int16ndarray, s: ArrayLike<SliceArgument>, options?: Options ): int16ndarray; // tslint:disable-line:unified-signatures
710+
declare function sliceAssign( x: ndarray, y: int16ndarray, s: ArrayLike<SliceArgument>, options?: Options ): int16ndarray; // eslint-disable-line @typescript-eslint/unified-signatures
711711

712712
/**
713713
* Assigns element values from a broadcasted input ndarray to corresponding elements in an output ndarray view.
@@ -889,7 +889,7 @@ declare function sliceAssign( x: ndarray, y: int8ndarray, s: MultiSlice, options
889889
* arr = ndarray2array( y );
890890
* // returns [ [ [ 6, 5 ], [ 4, 3 ], [ 2, 1 ] ], [ [ 6, 5 ], [ 4, 3 ], [ 2, 1 ] ] ]
891891
*/
892-
declare function sliceAssign( x: ndarray, y: int8ndarray, s: ArrayLike<SliceArgument>, options?: Options ): int8ndarray; // tslint:disable-line:unified-signatures
892+
declare function sliceAssign( x: ndarray, y: int8ndarray, s: ArrayLike<SliceArgument>, options?: Options ): int8ndarray; // eslint-disable-line @typescript-eslint/unified-signatures
893893

894894
/**
895895
* Assigns element values from a broadcasted input ndarray to corresponding elements in an output ndarray view.
@@ -1071,7 +1071,7 @@ declare function sliceAssign( x: ndarray, y: uint32ndarray, s: MultiSlice, optio
10711071
* arr = ndarray2array( y );
10721072
* // returns [ [ [ 6, 5 ], [ 4, 3 ], [ 2, 1 ] ], [ [ 6, 5 ], [ 4, 3 ], [ 2, 1 ] ] ]
10731073
*/
1074-
declare function sliceAssign( x: ndarray, y: uint32ndarray, s: ArrayLike<SliceArgument>, options?: Options ): uint32ndarray; // tslint:disable-line:unified-signatures
1074+
declare function sliceAssign( x: ndarray, y: uint32ndarray, s: ArrayLike<SliceArgument>, options?: Options ): uint32ndarray; // eslint-disable-line @typescript-eslint/unified-signatures
10751075

10761076
/**
10771077
* Assigns element values from a broadcasted input ndarray to corresponding elements in an output ndarray view.
@@ -1253,7 +1253,7 @@ declare function sliceAssign( x: ndarray, y: uint16ndarray, s: MultiSlice, optio
12531253
* arr = ndarray2array( y );
12541254
* // returns [ [ [ 6, 5 ], [ 4, 3 ], [ 2, 1 ] ], [ [ 6, 5 ], [ 4, 3 ], [ 2, 1 ] ] ]
12551255
*/
1256-
declare function sliceAssign( x: ndarray, y: uint16ndarray, s: ArrayLike<SliceArgument>, options?: Options ): uint16ndarray; // tslint:disable-line:unified-signatures
1256+
declare function sliceAssign( x: ndarray, y: uint16ndarray, s: ArrayLike<SliceArgument>, options?: Options ): uint16ndarray; // eslint-disable-line @typescript-eslint/unified-signatures
12571257

12581258
/**
12591259
* Assigns element values from a broadcasted input ndarray to corresponding elements in an output ndarray view.
@@ -1435,7 +1435,7 @@ declare function sliceAssign( x: ndarray, y: uint8ndarray, s: MultiSlice, option
14351435
* arr = ndarray2array( y );
14361436
* // returns [ [ [ 6, 5 ], [ 4, 3 ], [ 2, 1 ] ], [ [ 6, 5 ], [ 4, 3 ], [ 2, 1 ] ] ]
14371437
*/
1438-
declare function sliceAssign( x: ndarray, y: uint8ndarray, s: ArrayLike<SliceArgument>, options?: Options ): uint8ndarray; // tslint:disable-line:unified-signatures
1438+
declare function sliceAssign( x: ndarray, y: uint8ndarray, s: ArrayLike<SliceArgument>, options?: Options ): uint8ndarray; // eslint-disable-line @typescript-eslint/unified-signatures
14391439

14401440
/**
14411441
* Assigns element values from a broadcasted input ndarray to corresponding elements in an output ndarray view.
@@ -1617,7 +1617,7 @@ declare function sliceAssign( x: ndarray, y: uint8cndarray, s: MultiSlice, optio
16171617
* arr = ndarray2array( y );
16181618
* // returns [ [ [ 6, 5 ], [ 4, 3 ], [ 2, 1 ] ], [ [ 6, 5 ], [ 4, 3 ], [ 2, 1 ] ] ]
16191619
*/
1620-
declare function sliceAssign( x: ndarray, y: uint8cndarray, s: ArrayLike<SliceArgument>, options?: Options ): uint8cndarray; // tslint:disable-line:unified-signatures
1620+
declare function sliceAssign( x: ndarray, y: uint8cndarray, s: ArrayLike<SliceArgument>, options?: Options ): uint8cndarray; // eslint-disable-line @typescript-eslint/unified-signatures
16211621

16221622
/**
16231623
* Assigns element values from a broadcasted input ndarray to corresponding elements in an output ndarray view.
@@ -1788,7 +1788,7 @@ declare function sliceAssign( x: ndarray, y: complex128ndarray, s: MultiSlice, o
17881788
* var bool = ( out === y );
17891789
* // returns true
17901790
*/
1791-
declare function sliceAssign( x: ndarray, y: complex128ndarray, s: ArrayLike<SliceArgument>, options?: Options ): complex128ndarray; // tslint:disable-line:unified-signatures
1791+
declare function sliceAssign( x: ndarray, y: complex128ndarray, s: ArrayLike<SliceArgument>, options?: Options ): complex128ndarray; // eslint-disable-line @typescript-eslint/unified-signatures
17921792

17931793
/**
17941794
* Assigns element values from a broadcasted input ndarray to corresponding elements in an output ndarray view.
@@ -1954,7 +1954,7 @@ declare function sliceAssign( x: ndarray, y: complex64ndarray, s: MultiSlice, op
19541954
* var bool = ( out === y );
19551955
* // returns true
19561956
*/
1957-
declare function sliceAssign( x: ndarray, y: complex64ndarray, s: ArrayLike<SliceArgument>, options?: Options ): complex64ndarray; // tslint:disable-line:unified-signatures
1957+
declare function sliceAssign( x: ndarray, y: complex64ndarray, s: ArrayLike<SliceArgument>, options?: Options ): complex64ndarray; // eslint-disable-line @typescript-eslint/unified-signatures
19581958

19591959
/**
19601960
* Assigns element values from a broadcasted input ndarray to corresponding elements in an output ndarray view.
@@ -2130,7 +2130,7 @@ declare function sliceAssign<T = unknown>( x: ndarray, y: genericndarray<T>, s:
21302130
* arr = ndarray2array( y );
21312131
* // returns [ [ [ 6, 5 ], [ 4, 3 ], [ 2, 1 ] ], [ [ 6, 5 ], [ 4, 3 ], [ 2, 1 ] ] ]
21322132
*/
2133-
declare function sliceAssign<T = unknown>( x: ndarray, y: genericndarray<T>, s: ArrayLike<SliceArgument>, options?: Options ): genericndarray<T>; // tslint:disable-line:unified-signatures
2133+
declare function sliceAssign<T = unknown>( x: ndarray, y: genericndarray<T>, s: ArrayLike<SliceArgument>, options?: Options ): genericndarray<T>; // eslint-disable-line @typescript-eslint/unified-signatures
21342134

21352135
/**
21362136
* Assigns element values from a broadcasted input ndarray to corresponding elements in an output ndarray view.
@@ -2311,7 +2311,7 @@ declare function sliceAssign<T = unknown>( x: ndarray, y: typedndarray<T>, s: Mu
23112311
* arr = ndarray2array( y );
23122312
* // returns [ [ [ 6, 5 ], [ 4, 3 ], [ 2, 1 ] ], [ [ 6, 5 ], [ 4, 3 ], [ 2, 1 ] ] ]
23132313
*/
2314-
declare function sliceAssign<T = unknown>( x: ndarray, y: typedndarray<T>, s: ArrayLike<SliceArgument>, options?: Options ): typedndarray<T>; // tslint:disable-line:unified-signatures
2314+
declare function sliceAssign<T = unknown>( x: ndarray, y: typedndarray<T>, s: ArrayLike<SliceArgument>, options?: Options ): typedndarray<T>; // eslint-disable-line @typescript-eslint/unified-signatures
23152315

23162316
/**
23172317
* Assigns element values from a broadcasted input ndarray to corresponding elements in an output ndarray view.

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ declare function slice( x: float64ndarray, s: MultiSlice, options?: Options ): f
129129
* arr = ndarray2array( y );
130130
* // returns [ [ 6.0, 5.0 ], [ 2.0, 1.0 ] ]
131131
*/
132-
declare function slice( x: float64ndarray, s: ArrayLike<SliceArgument>, options?: Options ): float64ndarray; // tslint:disable-line:unified-signatures
132+
declare function slice( x: float64ndarray, s: ArrayLike<SliceArgument>, options?: Options ): float64ndarray; // eslint-disable-line @typescript-eslint/unified-signatures
133133

134134
/**
135135
* Returns a read-only view of an input ndarray.
@@ -263,7 +263,7 @@ declare function slice( x: float32ndarray, s: MultiSlice, options?: Options ): f
263263
* arr = ndarray2array( y );
264264
* // returns [ [ 6.0, 5.0 ], [ 2.0, 1.0 ] ]
265265
*/
266-
declare function slice( x: float32ndarray, s: ArrayLike<SliceArgument>, options?: Options ): float32ndarray; // tslint:disable-line:unified-signatures
266+
declare function slice( x: float32ndarray, s: ArrayLike<SliceArgument>, options?: Options ): float32ndarray; // eslint-disable-line @typescript-eslint/unified-signatures
267267

268268
/**
269269
* Returns a read-only view of an input ndarray.
@@ -397,7 +397,7 @@ declare function slice( x: int32ndarray, s: MultiSlice, options?: Options ): int
397397
* arr = ndarray2array( y );
398398
* // returns [ [ 6, 5 ], [ 2, 1 ] ]
399399
*/
400-
declare function slice( x: int32ndarray, s: ArrayLike<SliceArgument>, options?: Options ): int32ndarray; // tslint:disable-line:unified-signatures
400+
declare function slice( x: int32ndarray, s: ArrayLike<SliceArgument>, options?: Options ): int32ndarray; // eslint-disable-line @typescript-eslint/unified-signatures
401401

402402
/**
403403
* Returns a read-only view of an input ndarray.
@@ -532,7 +532,7 @@ declare function slice( x: int16ndarray, s: MultiSlice, options?: Options ): int
532532
* arr = ndarray2array( y );
533533
* // returns [ [ 6, 5 ], [ 2, 1 ] ]
534534
*/
535-
declare function slice( x: int16ndarray, s: ArrayLike<SliceArgument>, options?: Options ): int16ndarray; // tslint:disable-line:unified-signatures
535+
declare function slice( x: int16ndarray, s: ArrayLike<SliceArgument>, options?: Options ): int16ndarray; // eslint-disable-line @typescript-eslint/unified-signatures
536536

537537
/**
538538
* Returns a read-only view of an input ndarray.
@@ -667,7 +667,7 @@ declare function slice( x: int8ndarray, s: MultiSlice, options?: Options ): int8
667667
* arr = ndarray2array( y );
668668
* // returns [ [ 6, 5 ], [ 2, 1 ] ]
669669
*/
670-
declare function slice( x: int8ndarray, s: ArrayLike<SliceArgument>, options?: Options ): int8ndarray; // tslint:disable-line:unified-signatures
670+
declare function slice( x: int8ndarray, s: ArrayLike<SliceArgument>, options?: Options ): int8ndarray; // eslint-disable-line @typescript-eslint/unified-signatures
671671

672672
/**
673673
* Returns a read-only view of an input ndarray.
@@ -802,7 +802,7 @@ declare function slice( x: uint32ndarray, s: MultiSlice, options?: Options ): ui
802802
* arr = ndarray2array( y );
803803
* // returns [ [ 6, 5 ], [ 2, 1 ] ]
804804
*/
805-
declare function slice( x: uint32ndarray, s: ArrayLike<SliceArgument>, options?: Options ): uint32ndarray; // tslint:disable-line:unified-signatures
805+
declare function slice( x: uint32ndarray, s: ArrayLike<SliceArgument>, options?: Options ): uint32ndarray; // eslint-disable-line @typescript-eslint/unified-signatures
806806

807807
/**
808808
* Returns a read-only view of an input ndarray.
@@ -937,7 +937,7 @@ declare function slice( x: uint16ndarray, s: MultiSlice, options?: Options ): ui
937937
* arr = ndarray2array( y );
938938
* // returns [ [ 6, 5 ], [ 2, 1 ] ]
939939
*/
940-
declare function slice( x: uint16ndarray, s: ArrayLike<SliceArgument>, options?: Options ): uint16ndarray; // tslint:disable-line:unified-signatures
940+
declare function slice( x: uint16ndarray, s: ArrayLike<SliceArgument>, options?: Options ): uint16ndarray; // eslint-disable-line @typescript-eslint/unified-signatures
941941

942942
/**
943943
* Returns a read-only view of an input ndarray.
@@ -1072,7 +1072,7 @@ declare function slice( x: uint8ndarray, s: MultiSlice, options?: Options ): uin
10721072
* arr = ndarray2array( y );
10731073
* // returns [ [ 6, 5 ], [ 2, 1 ] ]
10741074
*/
1075-
declare function slice( x: uint8ndarray, s: ArrayLike<SliceArgument>, options?: Options ): uint8ndarray; // tslint:disable-line:unified-signatures
1075+
declare function slice( x: uint8ndarray, s: ArrayLike<SliceArgument>, options?: Options ): uint8ndarray; // eslint-disable-line @typescript-eslint/unified-signatures
10761076

10771077
/**
10781078
* Returns a read-only view of an input ndarray.
@@ -1207,7 +1207,7 @@ declare function slice( x: uint8cndarray, s: MultiSlice, options?: Options ): ui
12071207
* arr = ndarray2array( y );
12081208
* // returns [ [ 6, 5 ], [ 2, 1 ] ]
12091209
*/
1210-
declare function slice( x: uint8cndarray, s: ArrayLike<SliceArgument>, options?: Options ): uint8cndarray; // tslint:disable-line:unified-signatures
1210+
declare function slice( x: uint8cndarray, s: ArrayLike<SliceArgument>, options?: Options ): uint8cndarray; // eslint-disable-line @typescript-eslint/unified-signatures
12111211

12121212
/**
12131213
* Returns a read-only view of an input ndarray.
@@ -1330,7 +1330,7 @@ declare function slice( x: complex128ndarray, s: MultiSlice, options?: Options )
13301330
* sh = y.shape;
13311331
* // returns [ 2, 2 ]
13321332
*/
1333-
declare function slice( x: complex128ndarray, s: ArrayLike<SliceArgument>, options?: Options ): complex128ndarray; // tslint:disable-line:unified-signatures
1333+
declare function slice( x: complex128ndarray, s: ArrayLike<SliceArgument>, options?: Options ): complex128ndarray; // eslint-disable-line @typescript-eslint/unified-signatures
13341334

13351335
/**
13361336
* Returns a read-only view of an input ndarray.
@@ -1446,7 +1446,7 @@ declare function slice( x: complex64ndarray, s: MultiSlice, options?: Options ):
14461446
* sh = y.shape;
14471447
* // returns [ 2, 2 ]
14481448
*/
1449-
declare function slice( x: complex64ndarray, s: ArrayLike<SliceArgument>, options?: Options ): complex64ndarray; // tslint:disable-line:unified-signatures
1449+
declare function slice( x: complex64ndarray, s: ArrayLike<SliceArgument>, options?: Options ): complex64ndarray; // eslint-disable-line @typescript-eslint/unified-signatures
14501450

14511451
/**
14521452
* Returns a read-only view of an input ndarray.
@@ -1572,7 +1572,7 @@ declare function slice<T = unknown>( x: genericndarray<T>, s: MultiSlice, option
15721572
* arr = ndarray2array( y );
15731573
* // returns [ [ 6, 5 ], [ 2, 1 ] ]
15741574
*/
1575-
declare function slice<T = unknown>( x: genericndarray<T>, s: ArrayLike<SliceArgument>, options?: Options ): genericndarray<T>; // tslint:disable-line:unified-signatures
1575+
declare function slice<T = unknown>( x: genericndarray<T>, s: ArrayLike<SliceArgument>, options?: Options ): genericndarray<T>; // eslint-disable-line @typescript-eslint/unified-signatures
15761576

15771577
/**
15781578
* Returns a read-only view of an input ndarray.
@@ -1703,7 +1703,7 @@ declare function slice<T = unknown>( x: typedndarray<T>, s: MultiSlice, options?
17031703
* arr = ndarray2array( y );
17041704
* // returns [ [ 6, 5 ], [ 2, 1 ] ]
17051705
*/
1706-
declare function slice<T = unknown>( x: typedndarray<T>, s: ArrayLike<SliceArgument>, options?: Options ): typedndarray<T>; // tslint:disable-line:unified-signatures
1706+
declare function slice<T = unknown>( x: typedndarray<T>, s: ArrayLike<SliceArgument>, options?: Options ): typedndarray<T>; // eslint-disable-line @typescript-eslint/unified-signatures
17071707

17081708
/**
17091709
* Returns a read-only view of an input ndarray.

0 commit comments

Comments
 (0)