Skip to content

Commit de93ae0

Browse files
committed
build: remove tslint directives
1 parent de1a221 commit de93ae0

File tree

31 files changed

+52
-52
lines changed

31 files changed

+52
-52
lines changed

lib/node_modules/@stdlib/array/base/accessor-getter/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ declare function getter( dtype: 'complex64' ): GetComplex64;
125125
* var v = get( arr, 2 );
126126
* // returns 3
127127
*/
128-
declare function getter<T = unknown>( dtype: string ): GetArrayLike<T>; // tslint:disable-line:no-unnecessary-generics
128+
declare function getter<T = unknown>( dtype: string ): GetArrayLike<T>;
129129

130130

131131
// EXPORTS //

lib/node_modules/@stdlib/array/base/accessor-setter/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ declare function setter( dtype: 'complex64' ): SetComplex64;
132132
* var v = arr.get( 2 );
133133
* // returns 3
134134
*/
135-
declare function setter<T = unknown>( dtype: string ): SetArrayLike<T>; // tslint:disable-line:no-unnecessary-generics
135+
declare function setter<T = unknown>( dtype: string ): SetArrayLike<T>;
136136

137137

138138
// EXPORTS //

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ declare function filledndBy<T = unknown, V = unknown>( shape: Shape10D, clbk: Ca
317317
* var out = filledndBy( [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3 ], constantFunction( 1.0 ) );
318318
* // returns [ [ [ [ [ [ [ [ [ [ [ 1.0, 1.0, 1.0 ] ] ] ] ] ] ] ] ] ]
319319
*/
320-
declare function filledndBy<T = unknown, V = unknown>( shape: Shape, clbk: Callback<T, V>, thisArg?: ThisParameterType<Callback<T, V>> ): Array<T>; // tslint:disable-line:no-unnecessary-generics
320+
declare function filledndBy<T = unknown, V = unknown>( shape: Shape, clbk: Callback<T, V>, thisArg?: ThisParameterType<Callback<T, V>> ): Array<T>;
321321

322322

323323
// EXPORTS //

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ declare function fillednd<T = unknown>( value: T, shape: Shape10D ): Array10D<T>
305305
* var out = fillednd( 'beep', [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3 ] );
306306
* // returns [ [ [ [ [ [ [ [ [ [ [ 'beep', 'beep', 'beep' ] ] ] ] ] ] ] ] ] ]
307307
*/
308-
declare function fillednd<T = unknown, U = unknown>( value: T, shape: Shape ): Array<U>; // tslint:disable-line:no-unnecessary-generics
308+
declare function fillednd<T = unknown, U = unknown>( value: T, shape: Shape ): Array<U>;
309309

310310

311311
// EXPORTS //

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ declare function getter( dtype: 'uint8c' ): GetUint8c;
287287
* var v = get( arr, 2 );
288288
* // returns 3
289289
*/
290-
declare function getter<T = unknown>( dtype: 'generic' ): GetGeneric<T>; // tslint:disable-line:no-unnecessary-generics
290+
declare function getter<T = unknown>( dtype: 'generic' ): GetGeneric<T>;
291291

292292
/**
293293
* Returns an accessor function for retrieving an element from an indexed array-like object.
@@ -304,7 +304,7 @@ declare function getter<T = unknown>( dtype: 'generic' ): GetGeneric<T>; // tsli
304304
* var v = get( arr, 2 );
305305
* // returns 3
306306
*/
307-
declare function getter<T = unknown>( dtype: string ): GetArrayLike<T>; // tslint:disable-line:no-unnecessary-generics
307+
declare function getter<T = unknown>( dtype: string ): GetArrayLike<T>;
308308

309309

310310
// EXPORTS //

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ declare function onesnd( shape: Shape10D ): Array10D<number>;
250250
* var out = onesnd( [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3 ] );
251251
* // returns [ [ [ [ [ [ [ [ [ [ [ 1.0, 1.0, 1.0 ] ] ] ] ] ] ] ] ] ]
252252
*/
253-
declare function onesnd<T = unknown>( shape: Collection<number> ): Array<T>; // tslint:disable-line:no-unnecessary-generics
253+
declare function onesnd<T = unknown>( shape: Collection<number> ): Array<T>;
254254

255255

256256
// EXPORTS //

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ declare function setter( dtype: 'uint8c' ): SetUint8c;
307307
* var v = arr[ 2 ];
308308
* // returns 3
309309
*/
310-
declare function setter<T = unknown>( dtype: 'generic' ): SetGeneric<T>; // tslint:disable-line:no-unnecessary-generics
310+
declare function setter<T = unknown>( dtype: 'generic' ): SetGeneric<T>;
311311

312312
/**
313313
* Returns an accessor function for setting an element in an indexed array-like object.
@@ -326,7 +326,7 @@ declare function setter<T = unknown>( dtype: 'generic' ): SetGeneric<T>; // tsli
326326
* var v = arr[ 2 ];
327327
* // returns 3
328328
*/
329-
declare function setter<T = unknown>( dtype: string ): SetArrayLike<T>; // tslint:disable-line:no-unnecessary-generics
329+
declare function setter<T = unknown>( dtype: string ): SetArrayLike<T>;
330330

331331

332332
// EXPORTS //

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ declare function zerosnd( shape: Shape10D ): Array10D<number>;
251251
* var out = zerosnd( [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3 ] );
252252
* // returns [ [ [ [ [ [ [ [ [ [ [ 0.0, 0.0, 0.0 ] ] ] ] ] ] ] ] ] ]
253253
*/
254-
declare function zerosnd<T = unknown>( shape: Shape ): Array<T>; // tslint:disable-line:no-unnecessary-generics
254+
declare function zerosnd<T = unknown>( shape: Shape ): Array<T>;
255255

256256

257257
// EXPORTS //

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ interface ExtendedOptions extends Options {
164164
* var v = arr.get( 0 );
165165
* // returns [ 1, 2 ]
166166
*/
167-
declare function array<T = unknown>( options: OptionsWithShape | OptionsWithBuffer ): typedndarray<T>; // tslint:disable-line:no-unnecessary-generics
167+
declare function array<T = unknown>( options: OptionsWithShape | OptionsWithBuffer ): typedndarray<T>;
168168

169169
/**
170170
* Returns a multidimensional array.
@@ -220,7 +220,7 @@ declare function array<T = unknown>( options: OptionsWithShape | OptionsWithBuff
220220
* var v = arr.get( 0, 0 );
221221
* // returns 1.0
222222
*/
223-
declare function array<T = unknown>( buffer: ArrayLike<any>, options?: ExtendedOptions ): typedndarray<T>; // tslint:disable-line:no-unnecessary-generics
223+
declare function array<T = unknown>( buffer: ArrayLike<any>, options?: ExtendedOptions ): typedndarray<T>;
224224

225225

226226
// EXPORTS //

lib/node_modules/@stdlib/ndarray/iter/to-array-each/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ type Iterator<T> = TypedIterator<T> | TypedIterableIterator<T>;
5757
*
5858
* // ...
5959
*/
60-
declare function nditer2arrayEach<T = unknown>( iterator: Iterator<ndarray> ): Iterator<Array<T>>; // tslint:disable-line:no-unnecessary-generics
60+
declare function nditer2arrayEach<T = unknown>( iterator: Iterator<ndarray> ): Iterator<Array<T>>;
6161

6262

6363
// EXPORTS //

lib/node_modules/@stdlib/utils/async/any-by-right/docs/types/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ interface AnyByRightAsync {
220220
*
221221
* anyByRightAsync( files, predicate, done );
222222
*/
223-
<T = unknown, V = unknown>( collection: Collection<T>, predicate: Predicate<T, V>, done: Callback ): void; // tslint:disable-line:no-unnecessary-generics
223+
<T = unknown, V = unknown>( collection: Collection<T>, predicate: Predicate<T, V>, done: Callback ): void;
224224

225225
/**
226226
* Returns a function for testing whether at least one element in a collection passes a test implemented by a predicate function, iterating from right to left.
@@ -336,7 +336,7 @@ interface AnyByRightAsync {
336336
* // Try to read each element in `files`:
337337
* anyByRightAsync( files, done );
338338
*/
339-
factory<T = unknown, V = unknown>( predicate: Predicate<T, V> ): FactoryFunction<T>; // tslint:disable-line:no-unnecessary-generics
339+
factory<T = unknown, V = unknown>( predicate: Predicate<T, V> ): FactoryFunction<T>;
340340
}
341341

342342
/**

lib/node_modules/@stdlib/utils/async/any-by/docs/types/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ interface AnyByAsync {
220220
*
221221
* anyByAsync( files, predicate, done );
222222
*/
223-
<T = unknown, V = unknown>( collection: Collection<T>, predicate: Predicate<T, V>, done: Callback ): void; // tslint:disable-line:no-unnecessary-generics
223+
<T = unknown, V = unknown>( collection: Collection<T>, predicate: Predicate<T, V>, done: Callback ): void;
224224

225225
/**
226226
* Returns a function for testing whether at least one element in a collection passes a test implemented by a predicate function.
@@ -336,7 +336,7 @@ interface AnyByAsync {
336336
* // Try to read each element in `files`:
337337
* anyByAsync( files, done );
338338
*/
339-
factory<T = unknown, V = unknown>( predicate: Predicate<T, V> ): FactoryFunction<T>; // tslint:disable-line:no-unnecessary-generics
339+
factory<T = unknown, V = unknown>( predicate: Predicate<T, V> ): FactoryFunction<T>;
340340
}
341341

342342
/**

lib/node_modules/@stdlib/utils/async/bifurcate-by/docs/types/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ interface BifurcateByAsync {
245245
*
246246
* bifurcateByAsync( files, predicate, done );
247247
*/
248-
<T = unknown, V = unknown>( collection: Collection<T>, predicate: Predicate<T, V>, done: Callback<T> ): void; // tslint:disable-line:no-unnecessary-generics
248+
<T = unknown, V = unknown>( collection: Collection<T>, predicate: Predicate<T, V>, done: Callback<T> ): void;
249249

250250
/**
251251
* Returns a function which splits values into two groups according to a predicate function.
@@ -357,7 +357,7 @@ interface BifurcateByAsync {
357357
* // Try to read each element in `files`:
358358
* bifurcateByAsync( files, done );
359359
*/
360-
factory<T = unknown, V = unknown>( predicate: Predicate<T, V> ): FactoryFunction<T>; // tslint:disable-line:no-unnecessary-generics
360+
factory<T = unknown, V = unknown>( predicate: Predicate<T, V> ): FactoryFunction<T>;
361361
}
362362

363363
/**

lib/node_modules/@stdlib/utils/async/count-by/docs/types/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ interface CountByAsync {
249249
*
250250
* countByAsync( files, indicator, done );
251251
*/
252-
<T = unknown, V = unknown>( collection: Collection<T>, indicator: Indicator<T, V>, done: Callback ): void; // tslint:disable-line:no-unnecessary-generics
252+
<T = unknown, V = unknown>( collection: Collection<T>, indicator: Indicator<T, V>, done: Callback ): void;
253253

254254
/**
255255
* Returns a function for grouping values according to an indicator function and returns group counts.
@@ -361,7 +361,7 @@ interface CountByAsync {
361361
* // Try to read each element in `files`:
362362
* countByAsync( files, done );
363363
*/
364-
factory<T = unknown, V = unknown>( indicator: Indicator<T, V> ): FactoryFunction<T>; // tslint:disable-line:no-unnecessary-generics
364+
factory<T = unknown, V = unknown>( indicator: Indicator<T, V> ): FactoryFunction<T>;
365365
}
366366

367367
/**

lib/node_modules/@stdlib/utils/async/every-by-right/docs/types/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ interface EveryByRightAsync {
221221
*
222222
* everyByRightAsync( files, predicate, done );
223223
*/
224-
<T = unknown, V = unknown>( collection: Collection<T>, predicate: Predicate<T, V>, done: Callback ): void; // tslint:disable-line:no-unnecessary-generics
224+
<T = unknown, V = unknown>( collection: Collection<T>, predicate: Predicate<T, V>, done: Callback ): void;
225225

226226
/**
227227
* Returns a function for testing whether all elements in a collection pass a test implemented by a predicate function, iterating from right to left.
@@ -343,7 +343,7 @@ interface EveryByRightAsync {
343343
* // Try to read each element in `files`:
344344
* everyByRightAsync( files, done );
345345
*/
346-
factory<T = unknown, V = unknown>( predicate: Predicate<T, V> ): FactoryFunction<T>; // tslint:disable-line:no-unnecessary-generics
346+
factory<T = unknown, V = unknown>( predicate: Predicate<T, V> ): FactoryFunction<T>;
347347
}
348348

349349
/**

lib/node_modules/@stdlib/utils/async/every-by/docs/types/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ interface EveryByAsync {
221221
*
222222
* everyByAsync( files, predicate, done );
223223
*/
224-
<T = unknown, V = unknown>( collection: Collection<T>, predicate: Predicate<T, V>, done: Callback ): void; // tslint:disable-line:no-unnecessary-generics
224+
<T = unknown, V = unknown>( collection: Collection<T>, predicate: Predicate<T, V>, done: Callback ): void;
225225

226226
/**
227227
* Returns a function for testing whether all elements in a collection pass a test implemented by a predicate function.
@@ -343,7 +343,7 @@ interface EveryByAsync {
343343
* // Try to read each element in `files`:
344344
* everyByAsync( files, done );
345345
*/
346-
factory<T = unknown, V = unknown>( predicate: Predicate<T, V> ): FactoryFunction<T>; // tslint:disable-line:no-unnecessary-generics
346+
factory<T = unknown, V = unknown>( predicate: Predicate<T, V> ): FactoryFunction<T>;
347347
}
348348

349349
/**

lib/node_modules/@stdlib/utils/async/for-each-right/docs/types/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ interface ForEachRightAsync {
217217
*
218218
* forEachRightAsync( files, read, done );
219219
*/
220-
<T = unknown, V = unknown>( collection: Collection<T>, fcn: Fcn<T, V>, done: Callback ): void; // tslint:disable-line:no-unnecessary-generics
220+
<T = unknown, V = unknown>( collection: Collection<T>, fcn: Fcn<T, V>, done: Callback ): void;
221221

222222
/**
223223
* Returns a function to invoke a function once for each element in a collection.
@@ -328,7 +328,7 @@ interface ForEachRightAsync {
328328
* // Run `read` for each element in `files`:
329329
* forEachRightAsync( files, done );
330330
*/
331-
factory<T = unknown, V = unknown>( fcn: Fcn<T, V> ): FactoryFunction; // tslint:disable-line:no-unnecessary-generics
331+
factory<T = unknown, V = unknown>( fcn: Fcn<T, V> ): FactoryFunction;
332332
}
333333

334334
/**

lib/node_modules/@stdlib/utils/async/for-each/docs/types/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ interface ForEachAsync {
217217
*
218218
* forEachAsync( files, read, done );
219219
*/
220-
<T = unknown, V = unknown>( collection: Collection<T>, fcn: Fcn<T, V>, done: Callback ): void; // tslint:disable-line:no-unnecessary-generics
220+
<T = unknown, V = unknown>( collection: Collection<T>, fcn: Fcn<T, V>, done: Callback ): void;
221221

222222
/**
223223
* Returns a function to invoke a function once for each element in a collection.
@@ -328,7 +328,7 @@ interface ForEachAsync {
328328
* // Run `read` for each element in `files`:
329329
* forEachAsync( files, done );
330330
*/
331-
factory<T = unknown, V = unknown>( fcn: Fcn<T, V> ): FactoryFunction; // tslint:disable-line:no-unnecessary-generics
331+
factory<T = unknown, V = unknown>( fcn: Fcn<T, V> ): FactoryFunction;
332332
}
333333

334334
/**

lib/node_modules/@stdlib/utils/async/group-by/docs/types/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ interface GroupByAsync {
447447
*
448448
* groupByAsync( files, indicator, done );
449449
*/
450-
<T = unknown, V = unknown>( collection: Collection<T>, indicator: Indicator<T, V>, done: ValuesCallback<T> ): void; // tslint:disable-line:no-unnecessary-generics
450+
<T = unknown, V = unknown>( collection: Collection<T>, indicator: Indicator<T, V>, done: ValuesCallback<T> ): void;
451451

452452
/**
453453
* Returns a function for grouping values according to an indicator function.
@@ -673,7 +673,7 @@ interface GroupByAsync {
673673
* // Try to read each element in `files`:
674674
* groupByAsync( files, done );
675675
*/
676-
factory<T = unknown, V = unknown>( indicator: Indicator<T, V> ): ValuesFactoryFunction<T>; // tslint:disable-line:no-unnecessary-generics
676+
factory<T = unknown, V = unknown>( indicator: Indicator<T, V> ): ValuesFactoryFunction<T>;
677677
}
678678

679679
/**

lib/node_modules/@stdlib/utils/async/inmap-right/docs/types/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ interface InMapRightAsync {
235235
*
236236
* inmapRightAsync( files, read, done );
237237
*/
238-
<T = unknown, U = unknown, V = unknown>( collection: Collection<T>, fcn: Fcn<T, U, V>, done: Callback<U> ): void; // tslint:disable-line:no-unnecessary-generics
238+
<T = unknown, U = unknown, V = unknown>( collection: Collection<T>, fcn: Fcn<T, U, V>, done: Callback<U> ): void;
239239

240240
/**
241241
* Returns a function to invoke a function once for each element in a collection and to update the collection in-place.
@@ -345,7 +345,7 @@ interface InMapRightAsync {
345345
* // Run `read` for each element in `files`:
346346
* inmapRightAsync( files, done );
347347
*/
348-
factory<T = unknown, U = unknown, V = unknown>( fcn: Fcn<T, U, V> ): FactoryFunction<T, U>; // tslint:disable-line:no-unnecessary-generics
348+
factory<T = unknown, U = unknown, V = unknown>( fcn: Fcn<T, U, V> ): FactoryFunction<T, U>;
349349
}
350350

351351
/**

lib/node_modules/@stdlib/utils/async/inmap/docs/types/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ interface InMapAsync {
235235
*
236236
* inmapAsync( files, read, done );
237237
*/
238-
<T = unknown, U = unknown, V = unknown>( collection: Collection<T>, fcn: Fcn<T, U, V>, done: Callback<U> ): void; // tslint:disable-line:no-unnecessary-generics
238+
<T = unknown, U = unknown, V = unknown>( collection: Collection<T>, fcn: Fcn<T, U, V>, done: Callback<U> ): void;
239239

240240
/**
241241
* Returns a function to invoke a function once for each element in a collection and to update the collection in-place.
@@ -345,7 +345,7 @@ interface InMapAsync {
345345
* // Run `read` for each element in `files`:
346346
* inmapAsync( files, done );
347347
*/
348-
factory<T = unknown, U = unknown, V = unknown>( fcn: Fcn<T, U, V> ): FactoryFunction<T, U>; // tslint:disable-line:no-unnecessary-generics
348+
factory<T = unknown, U = unknown, V = unknown>( fcn: Fcn<T, U, V> ): FactoryFunction<T, U>;
349349
}
350350

351351
/**

lib/node_modules/@stdlib/utils/async/none-by-right/docs/types/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ interface NoneByRightAsync {
220220
*
221221
* noneByRightAsync( files, predicate, done );
222222
*/
223-
<T = unknown, V = unknown>( collection: Collection<T>, predicate: Predicate<T, V>, done: Callback ): void; // tslint:disable-line:no-unnecessary-generics
223+
<T = unknown, V = unknown>( collection: Collection<T>, predicate: Predicate<T, V>, done: Callback ): void;
224224

225225
/**
226226
* Returns a function for testing whether all elements in a collection fail a test implemented by a predicate function, iterating from right to left.
@@ -339,7 +339,7 @@ interface NoneByRightAsync {
339339
* // Try to read each element in `files`:
340340
* noneByRightAsync( files, done );
341341
*/
342-
factory<T = unknown, V = unknown>( predicate: Predicate<T, V> ): FactoryFunction<T>; // tslint:disable-line:no-unnecessary-generics
342+
factory<T = unknown, V = unknown>( predicate: Predicate<T, V> ): FactoryFunction<T>;
343343
}
344344

345345
/**

lib/node_modules/@stdlib/utils/async/none-by/docs/types/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ interface NoneByAsync {
220220
*
221221
* noneByAsync( files, predicate, done );
222222
*/
223-
<T = unknown, V = unknown>( collection: Collection<T>, predicate: Predicate<T, V>, done: Callback ): void; // tslint:disable-line:no-unnecessary-generics
223+
<T = unknown, V = unknown>( collection: Collection<T>, predicate: Predicate<T, V>, done: Callback ): void;
224224

225225
/**
226226
* Returns a function for testing whether all elements in a collection fail a test implemented by a predicate function.
@@ -339,7 +339,7 @@ interface NoneByAsync {
339339
* // Try to read each element in `files`:
340340
* noneByAsync( files, done );
341341
*/
342-
factory<T = unknown, V = unknown>( predicate: Predicate<T, V> ): FactoryFunction<T>; // tslint:disable-line:no-unnecessary-generics
342+
factory<T = unknown, V = unknown>( predicate: Predicate<T, V> ): FactoryFunction<T>;
343343
}
344344

345345
/**

lib/node_modules/@stdlib/utils/async/reduce-right/docs/types/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ interface ReduceRightAsync {
230230
* };
231231
* reduceRightAsync( files, acc, read, done );
232232
*/
233-
<T = unknown, U = unknown, V = unknown>( collection: Collection<T>, initial: U, reducer: Reducer<T, U, V>, done: Callback<U> ): void; // tslint:disable-line:no-unnecessary-generics
233+
<T = unknown, U = unknown, V = unknown>( collection: Collection<T>, initial: U, reducer: Reducer<T, U, V>, done: Callback<U> ): void;
234234

235235
/**
236236
* Returns a function to apply a function against an accumulator and each element in a collection and return the accumulated result, iterating from right to left.
@@ -347,7 +347,7 @@ interface ReduceRightAsync {
347347
* };
348348
* reduceRightAsync( files, acc, done );
349349
*/
350-
factory<T = unknown, U = unknown, V = unknown>( reducer: Reducer<T, U, V> ): FactoryFunction<T, U>; // tslint:disable-line:no-unnecessary-generics
350+
factory<T = unknown, U = unknown, V = unknown>( reducer: Reducer<T, U, V> ): FactoryFunction<T, U>;
351351
}
352352

353353
/**

lib/node_modules/@stdlib/utils/async/reduce/docs/types/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ interface ReduceAsync {
225225
* };
226226
* reduceAsync( files, acc, read, done );
227227
*/
228-
<T = unknown, U = unknown, V = unknown>( collection: Collection<T>, initial: U, reducer: Reducer<T, U, V>, done: Callback<U> ): void; // tslint:disable-line:no-unnecessary-generics
228+
<T = unknown, U = unknown, V = unknown>( collection: Collection<T>, initial: U, reducer: Reducer<T, U, V>, done: Callback<U> ): void;
229229

230230
/**
231231
* Returns a function to apply a function against an accumulator and each element in a collection and return the accumulated result.
@@ -343,7 +343,7 @@ interface ReduceAsync {
343343
* };
344344
* reduceAsync( files, acc, done );
345345
*/
346-
factory<T = unknown, U = unknown, V = unknown>( reducer: Reducer<T, U, V> ): FactoryFunction<T, U>; // tslint:disable-line:no-unnecessary-generics
346+
factory<T = unknown, U = unknown, V = unknown>( reducer: Reducer<T, U, V> ): FactoryFunction<T, U>;
347347
}
348348

349349
/**

0 commit comments

Comments
 (0)