Skip to content

Commit df3c9b3

Browse files
committed
build: remove tslint directives
1 parent bf2cf8b commit df3c9b3

File tree

98 files changed

+220
-220
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+220
-220
lines changed

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

+9-9
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ type GetIndexedArrayLike<T> = ( arr: Collection<T>, idx: number ) => T | void;
148148
* @param idx - element index
149149
* @returns element value
150150
*/
151-
type GetAccessorArrayLike<T> = ( arr: AccessorArrayLike<T>, idx: number ) => T | void; // tslint:disable-line:max-line-length
151+
type GetAccessorArrayLike<T> = ( arr: AccessorArrayLike<T>, idx: number ) => T | void;
152152

153153
/**
154154
* Sets an element in a `Float64Array`.
@@ -238,7 +238,7 @@ type SetUint8c = ( arr: Uint8ClampedArray, idx: number, value: number ) => void;
238238
* @param idx - element index
239239
* @param value - value to set
240240
*/
241-
type SetComplex128 = ( arr: Complex128Array, idx: number, value: ComplexLike ) => void; // tslint:disable-line:max-line-length
241+
type SetComplex128 = ( arr: Complex128Array, idx: number, value: ComplexLike ) => void;
242242

243243
/**
244244
* Sets an element in a `Complex64Array`.
@@ -247,7 +247,7 @@ type SetComplex128 = ( arr: Complex128Array, idx: number, value: ComplexLike ) =
247247
* @param idx - element index
248248
* @param value - value to set
249249
*/
250-
type SetComplex64 = ( arr: Complex64Array, idx: number, value: ComplexLike ) => void; // tslint:disable-line:max-line-length
250+
type SetComplex64 = ( arr: Complex64Array, idx: number, value: ComplexLike ) => void;
251251

252252
/**
253253
* Sets an element in a generic `Array`.
@@ -265,7 +265,7 @@ type SetGeneric<T> = ( arr: Array<T>, idx: number, value: T ) => void;
265265
* @param idx - element index
266266
* @param value - value to set
267267
*/
268-
type SetIndexedArrayLike<T> = ( arr: Collection<T>, idx: number, value: T ) => void; // tslint:disable-line:max-line-length
268+
type SetIndexedArrayLike<T> = ( arr: Collection<T>, idx: number, value: T ) => void;
269269

270270
/**
271271
* Sets an element in an array-like object supporting the get/set protocol.
@@ -274,7 +274,7 @@ type SetIndexedArrayLike<T> = ( arr: Collection<T>, idx: number, value: T ) => v
274274
* @param idx - element index
275275
* @param value - value to set
276276
*/
277-
type SetAccessorArrayLike<T> = ( arr: AccessorArrayLike<T>, idx: number, value: T ) => void; // tslint:disable-line:max-line-length
277+
type SetAccessorArrayLike<T> = ( arr: AccessorArrayLike<T>, idx: number, value: T ) => void;
278278

279279
/**
280280
* Interface describing the output object for a `Float64Array`.
@@ -834,7 +834,7 @@ declare function arraylike2object( x: Uint8ClampedArray ): Uint8cAccessorObject;
834834
* var v = fcns[ 0 ]( x, 1 );
835835
* // returns <Complex128>
836836
*/
837-
declare function arraylike2object( x: Complex128Array ): Complex128AccessorObject; // tslint:disable-line:max-line-length
837+
declare function arraylike2object( x: Complex128Array ): Complex128AccessorObject;
838838

839839
/**
840840
* Converts a one-dimensional array-like object to an object likely to have the same "shape".
@@ -900,7 +900,7 @@ declare function arraylike2object( x: Complex64Array ): Complex64AccessorObject;
900900
* var v = fcns[ 0 ]( x.data, 2 );
901901
* // returns 3
902902
*/
903-
declare function arraylike2object<T = unknown>( x: AccessorArrayLike<T> ): GetSetAccessorObject<T>; // tslint:disable-line:max-line-length
903+
declare function arraylike2object<T = unknown>( x: AccessorArrayLike<T> ): GetSetAccessorObject<T>;
904904

905905
/**
906906
* Converts a one-dimensional array-like object to an object likely to have the same "shape".
@@ -926,7 +926,7 @@ declare function arraylike2object<T = unknown>( x: AccessorArrayLike<T> ): GetSe
926926
* var v = fcns[ 0 ]( x.data, 2 );
927927
* // returns 3
928928
*/
929-
declare function arraylike2object<T = unknown>( x: Array<T> ): GenericAccessorObject<T>; // tslint:disable-line:max-line-length
929+
declare function arraylike2object<T = unknown>( x: Array<T> ): GenericAccessorObject<T>;
930930

931931
/**
932932
* Converts a one-dimensional array-like object to an object likely to have the same "shape".
@@ -958,7 +958,7 @@ declare function arraylike2object<T = unknown>( x: Array<T> ): GenericAccessorOb
958958
* var v = fcns[ 0 ]( x.data, 2 );
959959
* // returns 3
960960
*/
961-
declare function arraylike2object<T = unknown>( x: Collection<T> ): IndexedAccessorObject<T>; // tslint:disable-line:max-line-length
961+
declare function arraylike2object<T = unknown>( x: Collection<T> ): IndexedAccessorObject<T>;
962962

963963

964964
// EXPORTS //

lib/node_modules/@stdlib/array/base/cartesian-product/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import { Collection } from '@stdlib/types/array';
4040
* var out = cartesianProduct( x1, x2 );
4141
* // returns [ [ 1, 4 ], [ 1, 5 ], [ 2, 4 ], [ 2, 5 ], [ 3, 4 ], [ 3, 5 ] ]
4242
*/
43-
declare function cartesianProduct<T = unknown, U = unknown>( x1: Collection<T>, x2: Collection<U> ): Array<[T, U]>; // tslint:disable-line:max-line-length
43+
declare function cartesianProduct<T = unknown, U = unknown>( x1: Collection<T>, x2: Collection<U> ): Array<[T, U]>;
4444

4545

4646
// EXPORTS //

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ declare class Complex128Array implements Complex128ArrayInterface {
9999
* var len = arr.length;
100100
* // returns 2
101101
*/
102-
constructor( arg?: number | RealOrComplexTypedArray | ArrayLike<number | ComplexLike> | ArrayBuffer | Iterable<number | ComplexLike>, byteOffset?: number, length?: number ); // tslint:disable-line:max-line-length
102+
constructor( arg?: number | RealOrComplexTypedArray | ArrayLike<number | ComplexLike> | ArrayBuffer | Iterable<number | ComplexLike>, byteOffset?: number, length?: number );
103103

104104
/**
105105
* Length (in bytes) of the array.
@@ -290,7 +290,7 @@ declare class Complex128Array implements Complex128ArrayInterface {
290290
* im = imag( z );
291291
* // returns -1.0
292292
*/
293-
set( value: ArrayLike<number | ComplexLike> | RealOrComplexTypedArray | ComplexLike, i?: number ): void; // tslint:disable-line:max-line-length
293+
set( value: ArrayLike<number | ComplexLike> | RealOrComplexTypedArray | ComplexLike, i?: number ): void;
294294
}
295295

296296
/**
@@ -495,7 +495,7 @@ interface Complex128ArrayConstructor {
495495
* var len = arr.length;
496496
* // returns 1
497497
*/
498-
from( src: ArrayLike<number | ComplexLike> | RealOrComplexTypedArray | Iterable<number | ComplexLike>, clbk?: Function, thisArg?: any ): Complex128Array; // tslint:disable-line:max-line-length
498+
from( src: ArrayLike<number | ComplexLike> | RealOrComplexTypedArray | Iterable<number | ComplexLike>, clbk?: Function, thisArg?: any ): Complex128Array;
499499

500500
/**
501501
* Creates a new 128-bit complex number array from a variable number of arguments.

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ declare class Complex64Array implements Complex64ArrayInterface {
9999
* var len = arr.length;
100100
* // returns 2
101101
*/
102-
constructor( arg?: number | RealOrComplexTypedArray | ArrayLike<number | ComplexLike> | ArrayBuffer | Iterable<number | ComplexLike>, byteOffset?: number, length?: number ); // tslint:disable-line:max-line-length
102+
constructor( arg?: number | RealOrComplexTypedArray | ArrayLike<number | ComplexLike> | ArrayBuffer | Iterable<number | ComplexLike>, byteOffset?: number, length?: number );
103103

104104
/**
105105
* Length (in bytes) of the array.
@@ -290,7 +290,7 @@ declare class Complex64Array implements Complex64ArrayInterface {
290290
* im = imagf( z );
291291
* // returns -1.0
292292
*/
293-
set( value: ArrayLike<number | ComplexLike> | RealOrComplexTypedArray | ComplexLike, i?: number ): void; // tslint:disable-line:max-line-length
293+
set( value: ArrayLike<number | ComplexLike> | RealOrComplexTypedArray | ComplexLike, i?: number ): void;
294294
}
295295

296296
/**
@@ -495,7 +495,7 @@ interface Complex64ArrayConstructor {
495495
* var len = arr.length;
496496
* // returns 1
497497
*/
498-
from( src: ArrayLike<number | ComplexLike> | RealOrComplexTypedArray | Iterable<number | ComplexLike>, clbk?: Function, thisArg?: any ): Complex64Array; // tslint:disable-line:max-line-length
498+
from( src: ArrayLike<number | ComplexLike> | RealOrComplexTypedArray | Iterable<number | ComplexLike>, clbk?: Function, thisArg?: any ): Complex64Array;
499499

500500
/**
501501
* Creates a new 64-bit complex number array from a variable number of arguments.

lib/node_modules/@stdlib/array/convert-same/docs/types/index.d.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ declare function convertSame( x: Collection, y: Uint8Array ): Uint8Array;
182182
* var out = convertSame( x, y );
183183
* // returns <Uint8ClampedArray>[ 1, 2, 3, 4 ]
184184
*/
185-
declare function convertSame( x: Collection, y: Uint8ClampedArray ): Uint8ClampedArray; // tslint:disable-line:max-line-length
185+
declare function convertSame( x: Collection, y: Uint8ClampedArray ): Uint8ClampedArray;
186186

187187
/**
188188
* Converts an array to a `Complex128Array`.
@@ -200,7 +200,7 @@ declare function convertSame( x: Collection, y: Uint8ClampedArray ): Uint8Clampe
200200
* var out = convertSame( x, y );
201201
* // returns <Complex128Array>
202202
*/
203-
declare function convertSame( x: Collection, y: Complex128Array ): Complex128Array; // tslint:disable-line:max-line-length
203+
declare function convertSame( x: Collection, y: Complex128Array ): Complex128Array;
204204

205205
/**
206206
* Converts an array to a `Complex64Array`.
@@ -218,7 +218,7 @@ declare function convertSame( x: Collection, y: Complex128Array ): Complex128Arr
218218
* var out = convertSame( x, y );
219219
* // returns <Complex64Array>
220220
*/
221-
declare function convertSame( x: Collection, y: Complex64Array ): Complex64Array; // tslint:disable-line:max-line-length
221+
declare function convertSame( x: Collection, y: Complex64Array ): Complex64Array;
222222

223223
/**
224224
* Converts an array to a generic `Array`.

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ declare function dtype( value: Array<any> ): 'generic';
205205
* var dt = dtype( 'beep' );
206206
* // returns null
207207
*/
208-
declare function dtype( value: Array<any> | RealOrComplexTypedArray ): DataType | null; // tslint:disable-line:max-line-length
208+
declare function dtype( value: Array<any> | RealOrComplexTypedArray ): DataType | null;
209209

210210

211211
// EXPORTS //

lib/node_modules/@stdlib/array/empty-like/docs/types/index.d.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ declare function emptyLike( x: Float32Array, dtype?: DataType ): Float32Array;
405405
* var arr = emptyLike( x );
406406
* // returns <Complex128Array>
407407
*/
408-
declare function emptyLike( x: Complex128Array, dtype?: DataType ): Complex128Array; // tslint:disable-line:max-line-length
408+
declare function emptyLike( x: Complex128Array, dtype?: DataType ): Complex128Array;
409409

410410
/**
411411
* Creates an uninitialized array having the same length and data type as a provided input array.
@@ -443,7 +443,7 @@ declare function emptyLike( x: Complex128Array, dtype?: DataType ): Complex128Ar
443443
* var arr = emptyLike( x );
444444
* // returns <Complex64Array>
445445
*/
446-
declare function emptyLike( x: Complex64Array, dtype?: DataType ): Complex64Array; // tslint:disable-line:max-line-length
446+
declare function emptyLike( x: Complex64Array, dtype?: DataType ): Complex64Array;
447447

448448
/**
449449
* Creates an uninitialized array having the same length and data type as a provided input array.
@@ -709,7 +709,7 @@ declare function emptyLike( x: Uint8Array, dtype?: DataType ): Uint8Array;
709709
* var arr = emptyLike( x );
710710
* // returns <Uint8ClampedArray>
711711
*/
712-
declare function emptyLike( x: Uint8ClampedArray, dtype?: DataType ): Uint8ClampedArray; // tslint:disable-line:max-line-length
712+
declare function emptyLike( x: Uint8ClampedArray, dtype?: DataType ): Uint8ClampedArray;
713713

714714
/**
715715
* Creates an uninitialized array having the same length and data type as a provided input array.

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

+12-12
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ declare function filledarrayBy( dtype?: DataType ): ArrayOrTypedArray; // tslint
9696
* var arr = filledarrayBy( 5, constantFunction( 1.0 ) );
9797
* // returns <Float64Array>[ 1.0, 1.0, 1.0, 1.0, 1.0 ]
9898
*/
99-
declare function filledarrayBy( length: number, clbk: Callback, thisArg?: any ): ArrayOrTypedArray; // tslint:disable-line:max-line-length unified-signatures
99+
declare function filledarrayBy( length: number, clbk: Callback, thisArg?: any ): ArrayOrTypedArray; unified-signatures
100100

101101
/**
102102
* Creates a filled array according to a provided callback function and having a specified `length`.
@@ -128,7 +128,7 @@ declare function filledarrayBy( length: number, clbk: Callback, thisArg?: any ):
128128
* var arr = filledarrayBy( 5, 'float64', constantFunction( 1.0 ) );
129129
* // returns <Float64Array>[ 1.0, 1.0, 1.0, 1.0, 1.0 ]
130130
*/
131-
declare function filledarrayBy( length: number, dtype: DataType, clbk: Callback, thisArg?: any ): ArrayOrTypedArray; // tslint:disable-line:max-line-length unified-signatures
131+
declare function filledarrayBy( length: number, dtype: DataType, clbk: Callback, thisArg?: any ): ArrayOrTypedArray; unified-signatures
132132

133133
/**
134134
* Creates a filled array from another `array` according to a provided callback function.
@@ -144,7 +144,7 @@ declare function filledarrayBy( length: number, dtype: DataType, clbk: Callback,
144144
* var arr = filledarrayBy( [ 5.0, -3.0, 2.0 ], constantFunction( 1.0 ) );
145145
* // returns <Float64Array>[ 1.0, 1.0, 1.0 ]
146146
*/
147-
declare function filledarrayBy( array: Collection, clbk: Callback, thisArg?: any ): ArrayOrTypedArray; // tslint:disable-line:max-line-length unified-signatures
147+
declare function filledarrayBy( array: Collection, clbk: Callback, thisArg?: any ): ArrayOrTypedArray; unified-signatures
148148

149149
/**
150150
* Creates a filled array from another `array` according to a provided callback function.
@@ -176,7 +176,7 @@ declare function filledarrayBy( array: Collection, clbk: Callback, thisArg?: any
176176
* var arr = filledarrayBy( [ 5.0, -3.0, 2.0 ], 'float64', constantFunction( 1.0 ) );
177177
* // returns <Float64Array>[ 1.0, 1.0, 1.0 ]
178178
*/
179-
declare function filledarrayBy( array: Collection, dtype: DataType, clbk: Callback, thisArg?: any ): ArrayOrTypedArray; // tslint:disable-line:max-line-length unified-signatures
179+
declare function filledarrayBy( array: Collection, dtype: DataType, clbk: Callback, thisArg?: any ): ArrayOrTypedArray; unified-signatures
180180

181181
/**
182182
* Creates a filled array from an iterable according to a callback function.
@@ -196,7 +196,7 @@ declare function filledarrayBy( array: Collection, dtype: DataType, clbk: Callba
196196
* var arr = filledarrayBy( it, constantFunction( 1.0 ) );
197197
* // returns <Float64Array>[ 1.0, 1.0, 1.0 ]
198198
*/
199-
declare function filledarrayBy( iterable: IterableIterator, callback: Callback, thisArg?: any ): ArrayOrTypedArray; // tslint:disable-line:max-line-length unified-signatures
199+
declare function filledarrayBy( iterable: IterableIterator, callback: Callback, thisArg?: any ): ArrayOrTypedArray; unified-signatures
200200

201201
/**
202202
* Creates a filled array from an iterable according to a callback function.
@@ -232,7 +232,7 @@ declare function filledarrayBy( iterable: IterableIterator, callback: Callback,
232232
* var arr = filledarrayBy( it, 'float64', constantFunction( 1.0 ) );
233233
* // returns <Float64Array>[ 1.0, 1.0, 1.0 ]
234234
*/
235-
declare function filledarrayBy( iterable: IterableIterator, dtype: DataType, callback: Callback, thisArg?: any ): ArrayOrTypedArray; // tslint:disable-line:max-line-length unified-signatures
235+
declare function filledarrayBy( iterable: IterableIterator, dtype: DataType, callback: Callback, thisArg?: any ): ArrayOrTypedArray; unified-signatures
236236

237237
/**
238238
* Returns a filled typed array view of an `ArrayBuffer` according to a provided callback function.
@@ -256,7 +256,7 @@ declare function filledarrayBy( iterable: IterableIterator, dtype: DataType, cal
256256
* var arr = filledarrayBy( buf, 8, 2, constantFunction( 1.0 ) );
257257
* // returns <Float64Array>[ 1.0, 1.0 ]
258258
*/
259-
declare function filledarrayBy( buffer: ArrayBuffer, byteOffset: number, length: number, clbk: Callback, thisArg?: any ): RealOrComplexTypedArray; // tslint:disable-line:max-line-length
259+
declare function filledarrayBy( buffer: ArrayBuffer, byteOffset: number, length: number, clbk: Callback, thisArg?: any ): RealOrComplexTypedArray;
260260

261261
/**
262262
* Returns a filled typed array view of an `ArrayBuffer` according to a provided callback function.
@@ -296,7 +296,7 @@ declare function filledarrayBy( buffer: ArrayBuffer, byteOffset: number, length:
296296
* var arr = filledarrayBy( buf, 8, 2, 'float64', constantFunction( 1.0 ) );
297297
* // returns <Float64Array>[ 1.0, 1.0 ]
298298
*/
299-
declare function filledarrayBy( buffer: ArrayBuffer, byteOffset: number, length: number, dtype: DataType, clbk: Callback, thisArg?: any ): RealOrComplexTypedArray; // tslint:disable-line:max-line-length unified-signatures
299+
declare function filledarrayBy( buffer: ArrayBuffer, byteOffset: number, length: number, dtype: DataType, clbk: Callback, thisArg?: any ): RealOrComplexTypedArray; unified-signatures
300300

301301
/**
302302
* Returns a filled typed array view of an `ArrayBuffer` according to a provided callback function.
@@ -319,7 +319,7 @@ declare function filledarrayBy( buffer: ArrayBuffer, byteOffset: number, length:
319319
* var arr = filledarrayBy( buf, 8, constantFunction( 1.0 ) );
320320
* // returns <Float64Array>[ 1.0, 1.0, 1.0 ]
321321
*/
322-
declare function filledarrayBy( buffer: ArrayBuffer, byteOffset: number, clbk: Callback, thisArg?: any ): RealOrComplexTypedArray; // tslint:disable-line:max-line-length
322+
declare function filledarrayBy( buffer: ArrayBuffer, byteOffset: number, clbk: Callback, thisArg?: any ): RealOrComplexTypedArray;
323323

324324
/**
325325
* Returns a filled typed array view of an `ArrayBuffer` according to a provided callback function.
@@ -358,7 +358,7 @@ declare function filledarrayBy( buffer: ArrayBuffer, byteOffset: number, clbk: C
358358
* var arr = filledarrayBy( buf, 8, 'float64', constantFunction( 1.0 ) );
359359
* // returns <Float64Array>[ 1.0, 1.0, 1.0 ]
360360
*/
361-
declare function filledarrayBy( buffer: ArrayBuffer, byteOffset: number, dtype: DataType, clbk: Callback, thisArg?: any ): RealOrComplexTypedArray; // tslint:disable-line:max-line-length unified-signatures
361+
declare function filledarrayBy( buffer: ArrayBuffer, byteOffset: number, dtype: DataType, clbk: Callback, thisArg?: any ): RealOrComplexTypedArray; unified-signatures
362362

363363
/**
364364
* Returns a filled typed array view of an `ArrayBuffer` according to a provided callback function.
@@ -380,7 +380,7 @@ declare function filledarrayBy( buffer: ArrayBuffer, byteOffset: number, dtype:
380380
* var arr = filledarrayBy( buf, constantFunction( 1.0 ) );
381381
* // returns <Float64Array>[ 1.0, 1.0, 1.0, 1.0 ]
382382
*/
383-
declare function filledarrayBy( buffer: ArrayBuffer, clbk: Callback, thisArg?: any ): RealOrComplexTypedArray; // tslint:disable-line:max-line-length unified-signatures
383+
declare function filledarrayBy( buffer: ArrayBuffer, clbk: Callback, thisArg?: any ): RealOrComplexTypedArray; unified-signatures
384384

385385
/**
386386
* Returns a filled typed array view of an `ArrayBuffer` according to a provided callback function.
@@ -418,7 +418,7 @@ declare function filledarrayBy( buffer: ArrayBuffer, clbk: Callback, thisArg?: a
418418
* var arr = filledarrayBy( buf, 'float64', constantFunction( 1.0 ) );
419419
* // returns <Float64Array>[ 1.0, 1.0, 1.0, 1.0 ]
420420
*/
421-
declare function filledarrayBy( buffer: ArrayBuffer, dtype: DataType, clbk: Callback, thisArg?: any ): RealOrComplexTypedArray; // tslint:disable-line:max-line-length unified-signatures
421+
declare function filledarrayBy( buffer: ArrayBuffer, dtype: DataType, clbk: Callback, thisArg?: any ): RealOrComplexTypedArray; unified-signatures
422422

423423

424424
// EXPORTS //

0 commit comments

Comments
 (0)