diff --git a/.github/.keepalive b/.github/.keepalive deleted file mode 100644 index a5aae693..00000000 --- a/.github/.keepalive +++ /dev/null @@ -1 +0,0 @@ -2023-11-01T06:06:08.953Z diff --git a/base/assert/docs/types/index.d.ts b/base/assert/docs/types/index.d.ts index 5e266a40..0d0f441f 100644 --- a/base/assert/docs/types/index.d.ts +++ b/base/assert/docs/types/index.d.ts @@ -18,8 +18,7 @@ // TypeScript Version: 4.1 -/* tslint:disable:max-line-length */ -/* tslint:disable:max-file-line-count */ +/* eslint-disable max-lines */ import isAllowedDataTypeCast = require( './../../../../base/assert/is-allowed-data-type-cast' ); import isBufferLengthCompatible = require( './../../../../base/assert/is-buffer-length-compatible' ); diff --git a/base/assert/is-allowed-data-type-cast/docs/types/index.d.ts b/base/assert/is-allowed-data-type-cast/docs/types/index.d.ts index 7c09a925..d9cd6ffb 100644 --- a/base/assert/is-allowed-data-type-cast/docs/types/index.d.ts +++ b/base/assert/is-allowed-data-type-cast/docs/types/index.d.ts @@ -33,7 +33,7 @@ * bool = isAllowedCast( 'float64', 'int32', 'safe' ); * // returns false */ -declare function isAllowedCast( from: string, to: string, casting: string ): boolean; // tslint-disable-line max-line-length +declare function isAllowedCast( from: string, to: string, casting: string ): boolean; // EXPORTS // diff --git a/base/assert/is-buffer-length-compatible-shape/docs/types/index.d.ts b/base/assert/is-buffer-length-compatible-shape/docs/types/index.d.ts index 652a79f6..ca9e83a5 100644 --- a/base/assert/is-buffer-length-compatible-shape/docs/types/index.d.ts +++ b/base/assert/is-buffer-length-compatible-shape/docs/types/index.d.ts @@ -41,7 +41,7 @@ import { ArrayLike } from '@stdlib/types/array'; * var bool = isBufferLengthCompatibleShape( 3, shape ); * // returns false */ -declare function isBufferLengthCompatibleShape( len: number, shape: ArrayLike ): boolean; // tslint-disable-line max-line-length +declare function isBufferLengthCompatibleShape( len: number, shape: ArrayLike ): boolean; // EXPORTS // diff --git a/base/assert/is-buffer-length-compatible/docs/types/index.d.ts b/base/assert/is-buffer-length-compatible/docs/types/index.d.ts index 8ac43b38..5eb431f6 100644 --- a/base/assert/is-buffer-length-compatible/docs/types/index.d.ts +++ b/base/assert/is-buffer-length-compatible/docs/types/index.d.ts @@ -47,7 +47,7 @@ import { ArrayLike } from '@stdlib/types/array'; * var bool = isBufferLengthCompatible( 4, shape, strides, offset ); * // returns false */ -declare function isBufferLengthCompatible( len: number, shape: ArrayLike, strides: ArrayLike, offset: number ): boolean; // tslint-disable-line max-line-length +declare function isBufferLengthCompatible( len: number, shape: ArrayLike, strides: ArrayLike, offset: number ): boolean; // EXPORTS // diff --git a/base/assert/is-column-major-contiguous/docs/types/index.d.ts b/base/assert/is-column-major-contiguous/docs/types/index.d.ts index 6d9a5808..4eac3b1d 100644 --- a/base/assert/is-column-major-contiguous/docs/types/index.d.ts +++ b/base/assert/is-column-major-contiguous/docs/types/index.d.ts @@ -54,7 +54,7 @@ import { ArrayLike } from '@stdlib/types/array'; * var bool = isColumnMajorContiguous( shape, strides, offset ); * // returns false */ -declare function isColumnMajorContiguous( shape: ArrayLike, strides: ArrayLike, offset: number ): boolean; // tslint-disable-line max-line-length +declare function isColumnMajorContiguous( shape: ArrayLike, strides: ArrayLike, offset: number ): boolean; // EXPORTS // diff --git a/base/assert/is-contiguous/docs/types/index.d.ts b/base/assert/is-contiguous/docs/types/index.d.ts index 72ec944b..0faceb8c 100644 --- a/base/assert/is-contiguous/docs/types/index.d.ts +++ b/base/assert/is-contiguous/docs/types/index.d.ts @@ -54,7 +54,7 @@ import { ArrayLike } from '@stdlib/types/array'; * var bool = isContiguous( shape, strides, offset ); * // returns false */ -declare function isContiguous( shape: ArrayLike, strides: ArrayLike, offset: number ): boolean; // tslint-disable-line max-line-length +declare function isContiguous( shape: ArrayLike, strides: ArrayLike, offset: number ): boolean; // EXPORTS // diff --git a/base/assert/is-row-major-contiguous/docs/types/index.d.ts b/base/assert/is-row-major-contiguous/docs/types/index.d.ts index a4d06bb3..0bafe6a4 100644 --- a/base/assert/is-row-major-contiguous/docs/types/index.d.ts +++ b/base/assert/is-row-major-contiguous/docs/types/index.d.ts @@ -54,7 +54,7 @@ import { ArrayLike } from '@stdlib/types/array'; * var bool = isRowMajorContiguous( shape, strides, offset ); * // returns false */ -declare function isRowMajorContiguous( shape: ArrayLike, strides: ArrayLike, offset: number ): boolean; // tslint-disable-line max-line-length +declare function isRowMajorContiguous( shape: ArrayLike, strides: ArrayLike, offset: number ): boolean; // EXPORTS // diff --git a/base/assert/is-single-segment-compatible/docs/types/index.d.ts b/base/assert/is-single-segment-compatible/docs/types/index.d.ts index ccaa3e30..c015350e 100644 --- a/base/assert/is-single-segment-compatible/docs/types/index.d.ts +++ b/base/assert/is-single-segment-compatible/docs/types/index.d.ts @@ -46,7 +46,7 @@ import { ArrayLike } from '@stdlib/types/array'; * var bool = isSingleSegmentCompatible( shape, strides, offset ); * // returns false */ -declare function isSingleSegmentCompatible( shape: ArrayLike, strides: ArrayLike, offset: number ): boolean; // tslint-disable-line max-line-length +declare function isSingleSegmentCompatible( shape: ArrayLike, strides: ArrayLike, offset: number ): boolean; // EXPORTS // diff --git a/base/binary-loop-interchange-order/docs/types/index.d.ts b/base/binary-loop-interchange-order/docs/types/index.d.ts index 4868151d..dbe5fed5 100644 --- a/base/binary-loop-interchange-order/docs/types/index.d.ts +++ b/base/binary-loop-interchange-order/docs/types/index.d.ts @@ -95,7 +95,7 @@ interface LoopOrderObject { * var ssz = o.sz; * // returns [ 6, -2, 1 ] */ -declare function binaryLoopOrder( shape: ArrayLike, stridesX: ArrayLike, stridesY: ArrayLike, stridesZ: ArrayLike ): LoopOrderObject; // tslint-disable-line max-line-length +declare function binaryLoopOrder( shape: ArrayLike, stridesX: ArrayLike, stridesY: ArrayLike, stridesZ: ArrayLike ): LoopOrderObject; // EXPORTS // diff --git a/base/binary-tiling-block-size/docs/types/index.d.ts b/base/binary-tiling-block-size/docs/types/index.d.ts index 26dbab30..3568cee5 100644 --- a/base/binary-tiling-block-size/docs/types/index.d.ts +++ b/base/binary-tiling-block-size/docs/types/index.d.ts @@ -30,7 +30,7 @@ * var bsize = binaryBlockSize( 'float64', 'float64', 'float64' ); * // returns */ -declare function binaryBlockSize( dtypeX: string, dtypeY: string, dtypeZ: string ): number; // tslint-disable-line max-line-length +declare function binaryBlockSize( dtypeX: string, dtypeY: string, dtypeZ: string ): number; // EXPORTS // diff --git a/base/bind2vind/docs/types/index.d.ts b/base/bind2vind/docs/types/index.d.ts index 8f5da7f9..f1c02512 100644 --- a/base/bind2vind/docs/types/index.d.ts +++ b/base/bind2vind/docs/types/index.d.ts @@ -46,7 +46,7 @@ import { Mode, Order } from '@stdlib/types/ndarray'; * var ind = bind2vind( shape, strides, offset, order, 7, mode ); * // returns 1 */ -declare function bind2vind( shape: ArrayLike, strides: ArrayLike, offset: number, order: Order, idx: number, mode: Mode ): number; // tslint-disable-line max-line-length +declare function bind2vind( shape: ArrayLike, strides: ArrayLike, offset: number, order: Order, idx: number, mode: Mode ): number; // EXPORTS // diff --git a/base/broadcast-array/docs/types/index.d.ts b/base/broadcast-array/docs/types/index.d.ts index 2469a52c..8a81be02 100644 --- a/base/broadcast-array/docs/types/index.d.ts +++ b/base/broadcast-array/docs/types/index.d.ts @@ -72,7 +72,7 @@ import { ndarray } from '@stdlib/types/ndarray'; * v = y.get( 2, 1, 1 ); * // returns 4 */ -declare function broadcastArray( arr: ndarray, shape: ArrayLike ): ndarray; // tslint:disable-line:max-line-length +declare function broadcastArray( arr: ndarray, shape: ArrayLike ): ndarray; // EXPORTS // diff --git a/base/broadcast-scalar/docs/types/index.d.ts b/base/broadcast-scalar/docs/types/index.d.ts index 62c36e51..dd14915b 100644 --- a/base/broadcast-scalar/docs/types/index.d.ts +++ b/base/broadcast-scalar/docs/types/index.d.ts @@ -45,7 +45,7 @@ import { ndarray, float64ndarray, float32ndarray, int32ndarray, int16ndarray, in * var v = x.get( 0, 1 ); * // returns 1.0 */ -declare function broadcastScalar( value: number, dtype: 'float64', shape: Shape, order: Order ): float64ndarray; // tslint:disable-line:max-line-length +declare function broadcastScalar( value: number, dtype: 'float64', shape: Shape, order: Order ): float64ndarray; /** * Broadcasts a scalar value to an ndarray having a specified shape. @@ -69,7 +69,7 @@ declare function broadcastScalar( value: number, dtype: 'float64', shape: Shape, * var v = x.get( 0, 1 ); * // returns 1.0 */ -declare function broadcastScalar( value: number, dtype: 'float32', shape: Shape, order: Order ): float32ndarray; // tslint:disable-line:max-line-length +declare function broadcastScalar( value: number, dtype: 'float32', shape: Shape, order: Order ): float32ndarray; /** * Broadcasts a scalar value to an ndarray having a specified shape. @@ -109,7 +109,7 @@ declare function broadcastScalar( value: number, dtype: 'float32', shape: Shape, * var im = imag( v ); * // returns 2.0 */ -declare function broadcastScalar( value: number | ComplexLike, dtype: 'complex128', shape: Shape, order: Order ): complex128ndarray; // tslint:disable-line:max-line-length +declare function broadcastScalar( value: number | ComplexLike, dtype: 'complex128', shape: Shape, order: Order ): complex128ndarray; /** * Broadcasts a scalar value to an ndarray having a specified shape. @@ -149,7 +149,7 @@ declare function broadcastScalar( value: number | ComplexLike, dtype: 'complex12 * var im = imagf( v ); * // returns 2.0 */ -declare function broadcastScalar( value: number | ComplexLike, dtype: 'complex64', shape: Shape, order: Order ): complex64ndarray; // tslint:disable-line:max-line-length +declare function broadcastScalar( value: number | ComplexLike, dtype: 'complex64', shape: Shape, order: Order ): complex64ndarray; /** * Broadcasts a scalar value to an ndarray having a specified shape. @@ -173,7 +173,7 @@ declare function broadcastScalar( value: number | ComplexLike, dtype: 'complex64 * var v = x.get( 0, 1 ); * // returns 1 */ -declare function broadcastScalar( value: number, dtype: 'int32', shape: Shape, order: Order ): int32ndarray; // tslint:disable-line:max-line-length +declare function broadcastScalar( value: number, dtype: 'int32', shape: Shape, order: Order ): int32ndarray; /** * Broadcasts a scalar value to an ndarray having a specified shape. @@ -197,7 +197,7 @@ declare function broadcastScalar( value: number, dtype: 'int32', shape: Shape, o * var v = x.get( 0, 1 ); * // returns 1 */ -declare function broadcastScalar( value: number, dtype: 'int16', shape: Shape, order: Order ): int16ndarray; // tslint:disable-line:max-line-length +declare function broadcastScalar( value: number, dtype: 'int16', shape: Shape, order: Order ): int16ndarray; /** * Broadcasts a scalar value to an ndarray having a specified shape. @@ -221,7 +221,7 @@ declare function broadcastScalar( value: number, dtype: 'int16', shape: Shape, o * var v = x.get( 0, 1 ); * // returns 1 */ -declare function broadcastScalar( value: number, dtype: 'int8', shape: Shape, order: Order ): int8ndarray; // tslint:disable-line:max-line-length +declare function broadcastScalar( value: number, dtype: 'int8', shape: Shape, order: Order ): int8ndarray; /** * Broadcasts a scalar value to an ndarray having a specified shape. @@ -245,7 +245,7 @@ declare function broadcastScalar( value: number, dtype: 'int8', shape: Shape, or * var v = x.get( 0, 1 ); * // returns 1 */ -declare function broadcastScalar( value: number, dtype: 'uint32', shape: Shape, order: Order ): uint32ndarray; // tslint:disable-line:max-line-length +declare function broadcastScalar( value: number, dtype: 'uint32', shape: Shape, order: Order ): uint32ndarray; /** * Broadcasts a scalar value to an ndarray having a specified shape. @@ -269,7 +269,7 @@ declare function broadcastScalar( value: number, dtype: 'uint32', shape: Shape, * var v = x.get( 0, 1 ); * // returns 1 */ -declare function broadcastScalar( value: number, dtype: 'uint16', shape: Shape, order: Order ): uint16ndarray; // tslint:disable-line:max-line-length +declare function broadcastScalar( value: number, dtype: 'uint16', shape: Shape, order: Order ): uint16ndarray; /** * Broadcasts a scalar value to an ndarray having a specified shape. @@ -293,7 +293,7 @@ declare function broadcastScalar( value: number, dtype: 'uint16', shape: Shape, * var v = x.get( 0, 1 ); * // returns 1 */ -declare function broadcastScalar( value: number, dtype: 'uint8', shape: Shape, order: Order ): uint8ndarray; // tslint:disable-line:max-line-length +declare function broadcastScalar( value: number, dtype: 'uint8', shape: Shape, order: Order ): uint8ndarray; /** * Broadcasts a scalar value to an ndarray having a specified shape. @@ -317,7 +317,7 @@ declare function broadcastScalar( value: number, dtype: 'uint8', shape: Shape, o * var v = x.get( 0, 1 ); * // returns 1 */ -declare function broadcastScalar( value: number, dtype: 'uint8c', shape: Shape, order: Order ): uint8cndarray; // tslint:disable-line:max-line-length +declare function broadcastScalar( value: number, dtype: 'uint8c', shape: Shape, order: Order ): uint8cndarray; /** * Broadcasts a scalar value to an ndarray having a specified shape. @@ -341,7 +341,7 @@ declare function broadcastScalar( value: number, dtype: 'uint8c', shape: Shape, * var v = x.get( 0, 1 ); * // returns 1.0 */ -declare function broadcastScalar( value: any, dtype: DataType, shape: Shape, order: Order ): ndarray; // tslint:disable-line:max-line-length +declare function broadcastScalar( value: any, dtype: DataType, shape: Shape, order: Order ): ndarray; // EXPORTS // diff --git a/base/broadcast-shapes/docs/types/index.d.ts b/base/broadcast-shapes/docs/types/index.d.ts index f5174e94..c2702cf6 100644 --- a/base/broadcast-shapes/docs/types/index.d.ts +++ b/base/broadcast-shapes/docs/types/index.d.ts @@ -169,7 +169,7 @@ import { ArrayLike } from '@stdlib/types/array'; * var out = broadcastShapes( shapes ); * // returns [ 3, 2, 1 ] */ -declare function broadcastShapes( shapes: ArrayLike> ): ArrayLike; // tslint:disable-line:max-line-length +declare function broadcastShapes( shapes: ArrayLike> ): ArrayLike; // EXPORTS // diff --git a/base/buffer/docs/types/index.d.ts b/base/buffer/docs/types/index.d.ts index 2f57758e..1325c502 100644 --- a/base/buffer/docs/types/index.d.ts +++ b/base/buffer/docs/types/index.d.ts @@ -41,7 +41,7 @@ type ArrayOrBufferOrTypedArray = Array | TypedArray | Buffer | null; * var buf = buffer( 'float64', 3 ); * // returns [ 0.0, 0.0, 0.0 ] */ -declare function buffer( dtype: DataType, size: number ): ArrayOrBufferOrTypedArray; // tslint-disable-line max-line-length +declare function buffer( dtype: DataType, size: number ): ArrayOrBufferOrTypedArray; // EXPORTS // diff --git a/base/ctor/docs/types/index.d.ts b/base/ctor/docs/types/index.d.ts index c8012754..02934fb2 100644 --- a/base/ctor/docs/types/index.d.ts +++ b/base/ctor/docs/types/index.d.ts @@ -60,7 +60,7 @@ interface Constructor { * * var out = new ndarray( 'generic', buffer, shape, strides, offset, 'row-major' ); */ - new( dtype: DataType, buffer: ArrayLike | Buffer, shape: Shape, strides: Strides, offset: number, order: Order ): ndarray; // tslint-disable-line max-line-length + new( dtype: DataType, buffer: ArrayLike | Buffer, shape: Shape, strides: Strides, offset: number, order: Order ): ndarray; /** * ndarray constructor. @@ -94,7 +94,7 @@ interface Constructor { * * var out = ndarray( 'generic', buffer, shape, strides, offset, 'row-major' ); */ - ( dtype: DataType, buffer: ArrayLike | Buffer, shape: Shape, strides: Strides, offset: number, order: Order ): ndarray; // tslint-disable-line max-line-length + ( dtype: DataType, buffer: ArrayLike | Buffer, shape: Shape, strides: Strides, offset: number, order: Order ): ndarray; } /** diff --git a/base/docs/types/index.d.ts b/base/docs/types/index.d.ts index dcee7db4..84d91c49 100644 --- a/base/docs/types/index.d.ts +++ b/base/docs/types/index.d.ts @@ -18,8 +18,7 @@ // TypeScript Version: 4.1 -/* tslint:disable:max-line-length */ -/* tslint:disable:max-file-line-count */ +/* eslint-disable max-lines */ import assert = require( './../../../base/assert' ); import assign = require( './../../../base/assign' ); diff --git a/base/dtypes2signatures/docs/types/index.d.ts b/base/dtypes2signatures/docs/types/index.d.ts index 6ab96a69..126dcdec 100644 --- a/base/dtypes2signatures/docs/types/index.d.ts +++ b/base/dtypes2signatures/docs/types/index.d.ts @@ -44,7 +44,7 @@ import { ArrayLike } from '@stdlib/types/array'; * var sigs = dtypes2signatures( dtypes, 1, 1 ); * // returns [ '(float64) => (float64)', '(float32) => (float32)' ] */ -declare function dtypes2signatures( dtypes: ArrayLike, nin: number, nout: number ): ArrayLike; // tslint:disable-line:max-line-length +declare function dtypes2signatures( dtypes: ArrayLike, nin: number, nout: number ): ArrayLike; // EXPORTS // diff --git a/base/empty/docs/types/index.d.ts b/base/empty/docs/types/index.d.ts index 88f42014..166b5636 100644 --- a/base/empty/docs/types/index.d.ts +++ b/base/empty/docs/types/index.d.ts @@ -40,7 +40,7 @@ import { Shape, Order, typedndarray, float64ndarray, float32ndarray, int32ndarra * var dt = arr.dtype; * // returns 'float64' */ -declare function empty( dtype: 'float64', shape: Shape, order: Order ): float64ndarray; // tslint:disable-line:max-line-length +declare function empty( dtype: 'float64', shape: Shape, order: Order ): float64ndarray; /** * Creates an uninitialized array having a specified shape and data type. @@ -60,7 +60,7 @@ declare function empty( dtype: 'float64', shape: Shape, order: Order ): float64n * var dt = arr.dtype; * // returns 'float32' */ -declare function empty( dtype: 'float32', shape: Shape, order: Order ): float32ndarray; // tslint:disable-line:max-line-length +declare function empty( dtype: 'float32', shape: Shape, order: Order ): float32ndarray; /** * Creates an uninitialized array having a specified shape and data type. @@ -80,7 +80,7 @@ declare function empty( dtype: 'float32', shape: Shape, order: Order ): float32n * var dt = arr.dtype; * // returns 'complex128' */ -declare function empty( dtype: 'complex128', shape: Shape, order: Order ): complex128ndarray; // tslint:disable-line:max-line-length +declare function empty( dtype: 'complex128', shape: Shape, order: Order ): complex128ndarray; /** * Creates an uninitialized array having a specified shape and data type. @@ -100,7 +100,7 @@ declare function empty( dtype: 'complex128', shape: Shape, order: Order ): compl * var dt = arr.dtype; * // returns 'complex64' */ -declare function empty( dtype: 'complex64', shape: Shape, order: Order ): complex64ndarray; // tslint:disable-line:max-line-length +declare function empty( dtype: 'complex64', shape: Shape, order: Order ): complex64ndarray; /** * Creates an uninitialized array having a specified shape and data type. @@ -120,7 +120,7 @@ declare function empty( dtype: 'complex64', shape: Shape, order: Order ): comple * var dt = arr.dtype; * // returns 'int32' */ -declare function empty( dtype: 'int32', shape: Shape, order: Order ): int32ndarray; // tslint:disable-line:max-line-length +declare function empty( dtype: 'int32', shape: Shape, order: Order ): int32ndarray; /** * Creates an uninitialized array having a specified shape and data type. @@ -140,7 +140,7 @@ declare function empty( dtype: 'int32', shape: Shape, order: Order ): int32ndarr * var dt = arr.dtype; * // returns 'int16' */ -declare function empty( dtype: 'int16', shape: Shape, order: Order ): int16ndarray; // tslint:disable-line:max-line-length +declare function empty( dtype: 'int16', shape: Shape, order: Order ): int16ndarray; /** * Creates an uninitialized array having a specified shape and data type. @@ -160,7 +160,7 @@ declare function empty( dtype: 'int16', shape: Shape, order: Order ): int16ndarr * var dt = arr.dtype; * // returns 'int8' */ -declare function empty( dtype: 'int8', shape: Shape, order: Order ): int8ndarray; // tslint:disable-line:max-line-length +declare function empty( dtype: 'int8', shape: Shape, order: Order ): int8ndarray; /** * Creates an uninitialized array having a specified shape and data type. @@ -180,7 +180,7 @@ declare function empty( dtype: 'int8', shape: Shape, order: Order ): int8ndarray * var dt = arr.dtype; * // returns 'uint32' */ -declare function empty( dtype: 'uint32', shape: Shape, order: Order ): uint32ndarray; // tslint:disable-line:max-line-length +declare function empty( dtype: 'uint32', shape: Shape, order: Order ): uint32ndarray; /** * Creates an uninitialized array having a specified shape and data type. @@ -200,7 +200,7 @@ declare function empty( dtype: 'uint32', shape: Shape, order: Order ): uint32nda * var dt = arr.dtype; * // returns 'uint16' */ -declare function empty( dtype: 'uint16', shape: Shape, order: Order ): uint16ndarray; // tslint:disable-line:max-line-length +declare function empty( dtype: 'uint16', shape: Shape, order: Order ): uint16ndarray; /** * Creates an uninitialized array having a specified shape and data type. @@ -220,7 +220,7 @@ declare function empty( dtype: 'uint16', shape: Shape, order: Order ): uint16nda * var dt = arr.dtype; * // returns 'uint8' */ -declare function empty( dtype: 'uint8', shape: Shape, order: Order ): uint8ndarray; // tslint:disable-line:max-line-length +declare function empty( dtype: 'uint8', shape: Shape, order: Order ): uint8ndarray; /** * Creates an uninitialized array having a specified shape and data type. @@ -240,7 +240,7 @@ declare function empty( dtype: 'uint8', shape: Shape, order: Order ): uint8ndarr * var dt = arr.dtype; * // returns 'uint8c' */ -declare function empty( dtype: 'uint8c', shape: Shape, order: Order ): uint8cndarray; // tslint:disable-line:max-line-length +declare function empty( dtype: 'uint8c', shape: Shape, order: Order ): uint8cndarray; /** * Creates a zero-filled array having a specified shape and data type. @@ -260,7 +260,7 @@ declare function empty( dtype: 'uint8c', shape: Shape, order: Order ): uint8cnda * var dt = arr.dtype; * // returns 'generic' */ -declare function empty( dtype: 'generic', shape: Shape, order: Order ): typedndarray; // tslint:disable-line:max-line-length +declare function empty( dtype: 'generic', shape: Shape, order: Order ): typedndarray; /** * Creates an uninitialized array having a specified shape and data type. @@ -280,7 +280,7 @@ declare function empty( dtype: 'generic', shape: Shape, order: Order ): typednda * var dt = arr.dtype; * // returns 'float32' */ -declare function empty( dtype: DataType, shape: Shape, order: Order ): typedndarray; // tslint:disable-line:max-line-length unified-signatures +declare function empty( dtype: DataType, shape: Shape, order: Order ): typedndarray; unified-signatures // EXPORTS // diff --git a/base/from-scalar/docs/types/index.d.ts b/base/from-scalar/docs/types/index.d.ts index 4b9f01da..4257046a 100644 --- a/base/from-scalar/docs/types/index.d.ts +++ b/base/from-scalar/docs/types/index.d.ts @@ -44,7 +44,7 @@ import { ndarray, float64ndarray, float32ndarray, int32ndarray, int16ndarray, in * var v = x.get(); * // returns 1.0 */ -declare function scalar2ndarray( value: number, dtype: 'float64', order: Order ): float64ndarray; // tslint:disable-line:max-line-length +declare function scalar2ndarray( value: number, dtype: 'float64', order: Order ): float64ndarray; /** * Returns a zero-dimensional ndarray containing a provided scalar value. @@ -67,7 +67,7 @@ declare function scalar2ndarray( value: number, dtype: 'float64', order: Order ) * var v = x.get(); * // returns 1.0 */ -declare function scalar2ndarray( value: number, dtype: 'float32', order: Order ): float32ndarray; // tslint:disable-line:max-line-length +declare function scalar2ndarray( value: number, dtype: 'float32', order: Order ): float32ndarray; /** * Returns a zero-dimensional ndarray containing a provided scalar value. @@ -106,7 +106,7 @@ declare function scalar2ndarray( value: number, dtype: 'float32', order: Order ) * var im = imag( v ); * // returns 2.0 */ -declare function scalar2ndarray( value: number | ComplexLike, dtype: 'complex128', order: Order ): complex128ndarray; // tslint:disable-line:max-line-length +declare function scalar2ndarray( value: number | ComplexLike, dtype: 'complex128', order: Order ): complex128ndarray; /** * Returns a zero-dimensional ndarray containing a provided scalar value. @@ -145,7 +145,7 @@ declare function scalar2ndarray( value: number | ComplexLike, dtype: 'complex128 * var im = imagf( v ); * // returns 2.0 */ -declare function scalar2ndarray( value: number | ComplexLike, dtype: 'complex64', order: Order ): complex64ndarray; // tslint:disable-line:max-line-length +declare function scalar2ndarray( value: number | ComplexLike, dtype: 'complex64', order: Order ): complex64ndarray; /** * Returns a zero-dimensional ndarray containing a provided scalar value. @@ -168,7 +168,7 @@ declare function scalar2ndarray( value: number | ComplexLike, dtype: 'complex64' * var v = x.get(); * // returns 1 */ -declare function scalar2ndarray( value: number, dtype: 'int32', order: Order ): int32ndarray; // tslint:disable-line:max-line-length +declare function scalar2ndarray( value: number, dtype: 'int32', order: Order ): int32ndarray; /** * Returns a zero-dimensional ndarray containing a provided scalar value. @@ -191,7 +191,7 @@ declare function scalar2ndarray( value: number, dtype: 'int32', order: Order ): * var v = x.get(); * // returns 1 */ -declare function scalar2ndarray( value: number, dtype: 'int16', order: Order ): int16ndarray; // tslint:disable-line:max-line-length +declare function scalar2ndarray( value: number, dtype: 'int16', order: Order ): int16ndarray; /** * Returns a zero-dimensional ndarray containing a provided scalar value. @@ -214,7 +214,7 @@ declare function scalar2ndarray( value: number, dtype: 'int16', order: Order ): * var v = x.get(); * // returns 1 */ -declare function scalar2ndarray( value: number, dtype: 'int8', order: Order ): int8ndarray; // tslint:disable-line:max-line-length +declare function scalar2ndarray( value: number, dtype: 'int8', order: Order ): int8ndarray; /** * Returns a zero-dimensional ndarray containing a provided scalar value. @@ -237,7 +237,7 @@ declare function scalar2ndarray( value: number, dtype: 'int8', order: Order ): i * var v = x.get(); * // returns 1 */ -declare function scalar2ndarray( value: number, dtype: 'uint32', order: Order ): uint32ndarray; // tslint:disable-line:max-line-length +declare function scalar2ndarray( value: number, dtype: 'uint32', order: Order ): uint32ndarray; /** * Returns a zero-dimensional ndarray containing a provided scalar value. @@ -260,7 +260,7 @@ declare function scalar2ndarray( value: number, dtype: 'uint32', order: Order ): * var v = x.get(); * // returns 1 */ -declare function scalar2ndarray( value: number, dtype: 'uint16', order: Order ): uint16ndarray; // tslint:disable-line:max-line-length +declare function scalar2ndarray( value: number, dtype: 'uint16', order: Order ): uint16ndarray; /** * Returns a zero-dimensional ndarray containing a provided scalar value. @@ -283,7 +283,7 @@ declare function scalar2ndarray( value: number, dtype: 'uint16', order: Order ): * var v = x.get(); * // returns 1 */ -declare function scalar2ndarray( value: number, dtype: 'uint8', order: Order ): uint8ndarray; // tslint:disable-line:max-line-length +declare function scalar2ndarray( value: number, dtype: 'uint8', order: Order ): uint8ndarray; /** * Returns a zero-dimensional ndarray containing a provided scalar value. @@ -306,7 +306,7 @@ declare function scalar2ndarray( value: number, dtype: 'uint8', order: Order ): * var v = x.get(); * // returns 1 */ -declare function scalar2ndarray( value: number, dtype: 'uint8c', order: Order ): uint8cndarray; // tslint:disable-line:max-line-length +declare function scalar2ndarray( value: number, dtype: 'uint8c', order: Order ): uint8cndarray; /** * Returns a zero-dimensional ndarray containing a provided scalar value. @@ -329,7 +329,7 @@ declare function scalar2ndarray( value: number, dtype: 'uint8c', order: Order ): * var v = x.get(); * // returns 1.0 */ -declare function scalar2ndarray( value: any, dtype: DataType, order: Order ): ndarray; // tslint:disable-line:max-line-length +declare function scalar2ndarray( value: any, dtype: DataType, order: Order ): ndarray; // EXPORTS // diff --git a/base/ind2sub/docs/types/index.d.ts b/base/ind2sub/docs/types/index.d.ts index 55dbeecb..ed01f1f4 100644 --- a/base/ind2sub/docs/types/index.d.ts +++ b/base/ind2sub/docs/types/index.d.ts @@ -123,7 +123,7 @@ import { Mode, Order } from '@stdlib/types/ndarray'; * var s = ind2sub( shape, strides, offset, order, 17, 'throw' ); * // returns [ 1, 2, 2 ] */ -declare function ind2sub( shape: ArrayLike, strides: ArrayLike, offset: number, order: Order, idx: number, mode: Mode ): Array; // tslint-disable-line max-line-length +declare function ind2sub( shape: ArrayLike, strides: ArrayLike, offset: number, order: Order, idx: number, mode: Mode ): Array; // EXPORTS // diff --git a/base/max-view-buffer-index/docs/types/index.d.ts b/base/max-view-buffer-index/docs/types/index.d.ts index d85878b3..c200e945 100644 --- a/base/max-view-buffer-index/docs/types/index.d.ts +++ b/base/max-view-buffer-index/docs/types/index.d.ts @@ -62,7 +62,7 @@ import { ArrayLike } from '@stdlib/types/array'; * var idx = maxViewBufferIndex( shape, strides, offset ); * // returns 99 */ -declare function maxViewBufferIndex( shape: ArrayLike, strides: ArrayLike, offset: number ): number; // tslint-disable-line max-line-length +declare function maxViewBufferIndex( shape: ArrayLike, strides: ArrayLike, offset: number ): number; // EXPORTS // diff --git a/base/maybe-broadcast-array/docs/types/index.d.ts b/base/maybe-broadcast-array/docs/types/index.d.ts index 39826a46..c5bf290c 100644 --- a/base/maybe-broadcast-array/docs/types/index.d.ts +++ b/base/maybe-broadcast-array/docs/types/index.d.ts @@ -73,7 +73,7 @@ import { ndarray } from '@stdlib/types/ndarray'; * v = y.get( 2, 1, 1 ); * // returns 4 */ -declare function maybeBroadcastArray( arr: ndarray, shape: ArrayLike ): ndarray; // tslint:disable-line:max-line-length +declare function maybeBroadcastArray( arr: ndarray, shape: ArrayLike ): ndarray; // EXPORTS // diff --git a/base/min-view-buffer-index/docs/types/index.d.ts b/base/min-view-buffer-index/docs/types/index.d.ts index 3e8efbe9..8ccebb92 100644 --- a/base/min-view-buffer-index/docs/types/index.d.ts +++ b/base/min-view-buffer-index/docs/types/index.d.ts @@ -62,7 +62,7 @@ import { ArrayLike } from '@stdlib/types/array'; * var idx = minViewBufferIndex( shape, strides, offset ); * // returns 10 */ -declare function minViewBufferIndex( shape: ArrayLike, strides: ArrayLike, offset: number ): number; // tslint-disable-line max-line-length +declare function minViewBufferIndex( shape: ArrayLike, strides: ArrayLike, offset: number ): number; // EXPORTS // diff --git a/base/minmax-view-buffer-index/docs/types/index.d.ts b/base/minmax-view-buffer-index/docs/types/index.d.ts index 06beab99..b116911a 100644 --- a/base/minmax-view-buffer-index/docs/types/index.d.ts +++ b/base/minmax-view-buffer-index/docs/types/index.d.ts @@ -62,7 +62,7 @@ import { ArrayLike } from '@stdlib/types/array'; * var idx = minmaxViewBufferIndex( shape, strides, offset ); * // returns [ 0, 99 ] */ -declare function minmaxViewBufferIndex( shape: ArrayLike, strides: ArrayLike, offset: number ): Array; // tslint-disable-line max-line-length +declare function minmaxViewBufferIndex( shape: ArrayLike, strides: ArrayLike, offset: number ): Array; // EXPORTS // diff --git a/base/nullary-loop-interchange-order/docs/types/index.d.ts b/base/nullary-loop-interchange-order/docs/types/index.d.ts index 216cac1e..4dc3235c 100644 --- a/base/nullary-loop-interchange-order/docs/types/index.d.ts +++ b/base/nullary-loop-interchange-order/docs/types/index.d.ts @@ -69,7 +69,7 @@ interface LoopOrderObject { * var ssx = o.sx; * // returns [ 1, 4, 12 ] */ -declare function nullaryLoopOrder( shape: ArrayLike, stridesX: ArrayLike ): LoopOrderObject; // tslint-disable-line max-line-length +declare function nullaryLoopOrder( shape: ArrayLike, stridesX: ArrayLike ): LoopOrderObject; // EXPORTS // diff --git a/base/shape2strides/docs/types/index.d.ts b/base/shape2strides/docs/types/index.d.ts index c9855510..4833ec94 100644 --- a/base/shape2strides/docs/types/index.d.ts +++ b/base/shape2strides/docs/types/index.d.ts @@ -37,7 +37,7 @@ import { Order } from '@stdlib/types/ndarray'; * s = shape2strides( [ 3, 2 ], 'column-major' ); * // returns [ 1, 3 ] */ -declare function shape2strides( shape: ArrayLike, order: Order ): Array; // tslint-disable-line max-line-length +declare function shape2strides( shape: ArrayLike, order: Order ): Array; // EXPORTS // diff --git a/base/strides2offset/docs/types/index.d.ts b/base/strides2offset/docs/types/index.d.ts index e27e7bba..7493c5b3 100644 --- a/base/strides2offset/docs/types/index.d.ts +++ b/base/strides2offset/docs/types/index.d.ts @@ -36,7 +36,7 @@ import { ArrayLike } from '@stdlib/types/array'; * var offset = strides2offset( shape, strides ); * // returns 20 */ -declare function strides2offset( shape: ArrayLike, strides: ArrayLike ): number; // tslint-disable-line max-line-length +declare function strides2offset( shape: ArrayLike, strides: ArrayLike ): number; // EXPORTS // diff --git a/base/sub2ind/docs/types/index.d.ts b/base/sub2ind/docs/types/index.d.ts index 78d344cb..a7845a09 100644 --- a/base/sub2ind/docs/types/index.d.ts +++ b/base/sub2ind/docs/types/index.d.ts @@ -122,7 +122,7 @@ import { ArrayLike } from '@stdlib/types/array'; * var idx = sub2ind( shape, strides, offset, 1, 2, 2, mode ); * // returns 17 */ -declare function sub2ind( shape: ArrayLike, strides: ArrayLike, offset: number, ...args: Array> ): number; // tslint-disable-line max-line-length +declare function sub2ind( shape: ArrayLike, strides: ArrayLike, offset: number, ...args: Array> ): number; // EXPORTS // diff --git a/base/to-array/docs/types/index.d.ts b/base/to-array/docs/types/index.d.ts index 637eb829..e4157834 100644 --- a/base/to-array/docs/types/index.d.ts +++ b/base/to-array/docs/types/index.d.ts @@ -46,7 +46,7 @@ import { Buffer } from 'buffer'; * var out = ndarray2array( buffer, shape, strides, offset, order ); * // returns [ [ 1, 2 ], [ 3, 4 ] ] */ -declare function ndarray2array( buffer: ArrayLike | Buffer, shape: ArrayLike, strides: ArrayLike, offset: number, order: Order ): Array; // tslint-disable-line max-line-length +declare function ndarray2array( buffer: ArrayLike | Buffer, shape: ArrayLike, strides: ArrayLike, offset: number, order: Order ): Array; // EXPORTS // diff --git a/base/unary-by/docs/types/index.d.ts b/base/unary-by/docs/types/index.d.ts index 2ad25602..888fef7e 100644 --- a/base/unary-by/docs/types/index.d.ts +++ b/base/unary-by/docs/types/index.d.ts @@ -55,7 +55,7 @@ type BinaryCallback = ( value: any, idx: number ) => any; * @param indices - data buffer indices * @returns accessed value */ -type TernaryCallback = ( value: any, idx: number, indices: Array ) => any; // tslint-disable-line max-line-length +type TernaryCallback = ( value: any, idx: number, indices: Array ) => any; /** * Returns the accessed value. @@ -66,7 +66,7 @@ type TernaryCallback = ( value: any, idx: number, indices: Array ) => an * @param arrays - input and output ndarrays * @returns accessed value */ -type QuaternaryCallback = ( value: any, idx: number, indices: Array, arrays: Array ) => any; // tslint-disable-line max-line-length +type QuaternaryCallback = ( value: any, idx: number, indices: Array, arrays: Array ) => any; /** * Returns the accessed value. @@ -77,7 +77,7 @@ type QuaternaryCallback = ( value: any, idx: number, indices: Array, arr * @param arrays - input and output ndarrays * @returns accessed value */ -type Callback = NullaryCallback | UnaryCallback | BinaryCallback | TernaryCallback | QuaternaryCallback; // tslint-disable-line max-line-length +type Callback = NullaryCallback | UnaryCallback | BinaryCallback | TernaryCallback | QuaternaryCallback; /** * Callback invoked for each ndarray element. @@ -131,7 +131,7 @@ type Unary = ( value: any ) => any; * console.log( y.data ); * // => [ 20.0, 30.0, 60.0, 70.0, 100.0, 110.0 ] */ -declare function unaryBy( arrays: ArrayLike, fcn: Unary, clbk: Callback, thisArg?: any ): void; // tslint:disable-line:max-line-length +declare function unaryBy( arrays: ArrayLike, fcn: Unary, clbk: Callback, thisArg?: any ): void; // EXPORTS // diff --git a/base/unary-loop-interchange-order/docs/types/index.d.ts b/base/unary-loop-interchange-order/docs/types/index.d.ts index cd0ce153..9755d67d 100644 --- a/base/unary-loop-interchange-order/docs/types/index.d.ts +++ b/base/unary-loop-interchange-order/docs/types/index.d.ts @@ -84,7 +84,7 @@ interface LoopOrderObject { * var ssy = o.sy; * // returns [ 6, -2, 1 ] */ -declare function unaryLoopOrder( shape: ArrayLike, stridesX: ArrayLike, stridesY: ArrayLike ): LoopOrderObject; // tslint-disable-line max-line-length +declare function unaryLoopOrder( shape: ArrayLike, stridesX: ArrayLike, stridesY: ArrayLike ): LoopOrderObject; // EXPORTS // diff --git a/base/unary-output-dtype/docs/types/index.d.ts b/base/unary-output-dtype/docs/types/index.d.ts index 150b7c61..ee727bb3 100644 --- a/base/unary-output-dtype/docs/types/index.d.ts +++ b/base/unary-output-dtype/docs/types/index.d.ts @@ -33,7 +33,7 @@ import { DataType, OutputPolicy } from '@stdlib/types/ndarray'; * var dt = outputDataType( 'float64', 'complex_floating_point' ); * // returns */ -declare function outputDataType( dtype: DataType, policy: OutputPolicy | DataType ): DataType; // tslint-disable-line max-line-length +declare function outputDataType( dtype: DataType, policy: OutputPolicy | DataType ): DataType; // EXPORTS // diff --git a/base/vind2bind/docs/types/index.d.ts b/base/vind2bind/docs/types/index.d.ts index 702bc738..e7b5423c 100644 --- a/base/vind2bind/docs/types/index.d.ts +++ b/base/vind2bind/docs/types/index.d.ts @@ -45,7 +45,7 @@ import { Mode, Order } from '@stdlib/types/ndarray'; * var ind = vind2bind( shape, strides, offset, order, 1, mode ); * // returns 7 */ -declare function vind2bind( shape: ArrayLike, strides: ArrayLike, offset: number, order: Order, idx: number, mode: Mode ): number; // tslint-disable-line max-line-length +declare function vind2bind( shape: ArrayLike, strides: ArrayLike, offset: number, order: Order, idx: number, mode: Mode ): number; // EXPORTS // diff --git a/base/zeros/docs/types/index.d.ts b/base/zeros/docs/types/index.d.ts index 2abff49d..fb8e90e3 100644 --- a/base/zeros/docs/types/index.d.ts +++ b/base/zeros/docs/types/index.d.ts @@ -40,7 +40,7 @@ import { Shape, Order, typedndarray, float64ndarray, float32ndarray, int32ndarra * var dt = arr.dtype; * // returns 'float64' */ -declare function zeros( dtype: 'float64', shape: Shape, order: Order ): float64ndarray; // tslint:disable-line:max-line-length +declare function zeros( dtype: 'float64', shape: Shape, order: Order ): float64ndarray; /** * Creates a zero-filled array having a specified shape and data type. @@ -60,7 +60,7 @@ declare function zeros( dtype: 'float64', shape: Shape, order: Order ): float64n * var dt = arr.dtype; * // returns 'float32' */ -declare function zeros( dtype: 'float32', shape: Shape, order: Order ): float32ndarray; // tslint:disable-line:max-line-length +declare function zeros( dtype: 'float32', shape: Shape, order: Order ): float32ndarray; /** * Creates a zero-filled array having a specified shape and data type. @@ -80,7 +80,7 @@ declare function zeros( dtype: 'float32', shape: Shape, order: Order ): float32n * var dt = arr.dtype; * // returns 'complex128' */ -declare function zeros( dtype: 'complex128', shape: Shape, order: Order ): complex128ndarray; // tslint:disable-line:max-line-length +declare function zeros( dtype: 'complex128', shape: Shape, order: Order ): complex128ndarray; /** * Creates a zero-filled array having a specified shape and data type. @@ -100,7 +100,7 @@ declare function zeros( dtype: 'complex128', shape: Shape, order: Order ): compl * var dt = arr.dtype; * // returns 'complex64' */ -declare function zeros( dtype: 'complex64', shape: Shape, order: Order ): complex64ndarray; // tslint:disable-line:max-line-length +declare function zeros( dtype: 'complex64', shape: Shape, order: Order ): complex64ndarray; /** * Creates a zero-filled array having a specified shape and data type. @@ -120,7 +120,7 @@ declare function zeros( dtype: 'complex64', shape: Shape, order: Order ): comple * var dt = arr.dtype; * // returns 'int32' */ -declare function zeros( dtype: 'int32', shape: Shape, order: Order ): int32ndarray; // tslint:disable-line:max-line-length +declare function zeros( dtype: 'int32', shape: Shape, order: Order ): int32ndarray; /** * Creates a zero-filled array having a specified shape and data type. @@ -140,7 +140,7 @@ declare function zeros( dtype: 'int32', shape: Shape, order: Order ): int32ndarr * var dt = arr.dtype; * // returns 'int16' */ -declare function zeros( dtype: 'int16', shape: Shape, order: Order ): int16ndarray; // tslint:disable-line:max-line-length +declare function zeros( dtype: 'int16', shape: Shape, order: Order ): int16ndarray; /** * Creates a zero-filled array having a specified shape and data type. @@ -160,7 +160,7 @@ declare function zeros( dtype: 'int16', shape: Shape, order: Order ): int16ndarr * var dt = arr.dtype; * // returns 'int8' */ -declare function zeros( dtype: 'int8', shape: Shape, order: Order ): int8ndarray; // tslint:disable-line:max-line-length +declare function zeros( dtype: 'int8', shape: Shape, order: Order ): int8ndarray; /** * Creates a zero-filled array having a specified shape and data type. @@ -180,7 +180,7 @@ declare function zeros( dtype: 'int8', shape: Shape, order: Order ): int8ndarray * var dt = arr.dtype; * // returns 'uint32' */ -declare function zeros( dtype: 'uint32', shape: Shape, order: Order ): uint32ndarray; // tslint:disable-line:max-line-length +declare function zeros( dtype: 'uint32', shape: Shape, order: Order ): uint32ndarray; /** * Creates a zero-filled array having a specified shape and data type. @@ -200,7 +200,7 @@ declare function zeros( dtype: 'uint32', shape: Shape, order: Order ): uint32nda * var dt = arr.dtype; * // returns 'uint16' */ -declare function zeros( dtype: 'uint16', shape: Shape, order: Order ): uint16ndarray; // tslint:disable-line:max-line-length +declare function zeros( dtype: 'uint16', shape: Shape, order: Order ): uint16ndarray; /** * Creates a zero-filled array having a specified shape and data type. @@ -220,7 +220,7 @@ declare function zeros( dtype: 'uint16', shape: Shape, order: Order ): uint16nda * var dt = arr.dtype; * // returns 'uint8' */ -declare function zeros( dtype: 'uint8', shape: Shape, order: Order ): uint8ndarray; // tslint:disable-line:max-line-length +declare function zeros( dtype: 'uint8', shape: Shape, order: Order ): uint8ndarray; /** * Creates a zero-filled array having a specified shape and data type. @@ -240,7 +240,7 @@ declare function zeros( dtype: 'uint8', shape: Shape, order: Order ): uint8ndarr * var dt = arr.dtype; * // returns 'uint8c' */ -declare function zeros( dtype: 'uint8c', shape: Shape, order: Order ): uint8cndarray; // tslint:disable-line:max-line-length +declare function zeros( dtype: 'uint8c', shape: Shape, order: Order ): uint8cndarray; /** * Creates a zero-filled array having a specified shape and data type. @@ -260,7 +260,7 @@ declare function zeros( dtype: 'uint8c', shape: Shape, order: Order ): uint8cnda * var dt = arr.dtype; * // returns 'generic' */ -declare function zeros( dtype: 'generic', shape: Shape, order: Order ): typedndarray; // tslint:disable-line:max-line-length +declare function zeros( dtype: 'generic', shape: Shape, order: Order ): typedndarray; /** * Creates a zero-filled array having a specified shape and data type. @@ -280,7 +280,7 @@ declare function zeros( dtype: 'generic', shape: Shape, order: Order ): typednda * var dt = arr.dtype; * // returns 'float32' */ -declare function zeros( dtype: DataType, shape: Shape, order: Order ): typedndarray; // tslint:disable-line:max-line-length unified-signatures +declare function zeros( dtype: DataType, shape: Shape, order: Order ): typedndarray; unified-signatures // EXPORTS // diff --git a/dispatch/docs/types/index.d.ts b/dispatch/docs/types/index.d.ts index d0190a10..7d5c3070 100644 --- a/dispatch/docs/types/index.d.ts +++ b/dispatch/docs/types/index.d.ts @@ -275,7 +275,7 @@ interface Dispatcher { * fcn( x, y, z, w, u ); * // ubuf => [ 4.0, 8.0, 12.0 ] */ - ( x: ndarray, y: ndarray, z: ndarray, w: ndarray, ...args: Array ): ndarray | void; // tslint:disable-line:max-line-length unified-signatures + ( x: ndarray, y: ndarray, z: ndarray, w: ndarray, ...args: Array ): ndarray | void; unified-signatures } /** @@ -326,7 +326,7 @@ interface Dispatcher { * fcn( x, y ); * // ybuf => [ 1.0, 2.0, 3.0, 4.0, 5.0 ] */ -declare function dispatch( fcns: ndarrayFcn | ArrayLike, types: ArrayLike, data: ArrayLike | null, nargs: number, nin: number, nout: number ): Dispatcher; // tslint:disable-line:max-line-length +declare function dispatch( fcns: ndarrayFcn | ArrayLike, types: ArrayLike, data: ArrayLike | null, nargs: number, nin: number, nout: number ): Dispatcher; // EXPORTS // diff --git a/dispatch/docs/types/test.ts b/dispatch/docs/types/test.ts index 397185e0..57c09244 100644 --- a/dispatch/docs/types/test.ts +++ b/dispatch/docs/types/test.ts @@ -90,12 +90,12 @@ function quaternary( x: number, y: number, z: number, w: number ): number { * @param opts - options * @return subscripts */ -function ind2sub( shape: ArrayLike, idx: number, opts?: any ): Array { // tslint:disable-line:max-line-length +function ind2sub( shape: ArrayLike, idx: number, opts?: any ): Array { let out; let i; out = []; - if ( typeof opts === 'object' && opts !== null && opts.order === 'row-major' ) { // tslint:disable-line:max-line-length no-unsafe-any + if ( typeof opts === 'object' && opts !== null && opts.order === 'row-major' ) { no-unsafe-any for ( i = 0; i < shape.length; i += 1 ) { out.push( idx % shape[ i ] ); } diff --git a/docs/types/index.d.ts b/docs/types/index.d.ts index 3b46e8cc..d92deeae 100644 --- a/docs/types/index.d.ts +++ b/docs/types/index.d.ts @@ -18,8 +18,7 @@ // TypeScript Version: 4.1 -/* tslint:disable:max-line-length */ -/* tslint:disable:max-file-line-count */ +/* eslint-disable max-lines */ import array = require( './../../array' ); import base = require( './../../base' ); diff --git a/dtypes/docs/types/index.d.ts b/dtypes/docs/types/index.d.ts index a3770ebc..b7403c40 100644 --- a/dtypes/docs/types/index.d.ts +++ b/dtypes/docs/types/index.d.ts @@ -21,7 +21,7 @@ /** * Data type kind. */ -type Kind = 'all' | 'numeric' | 'real' | 'floating_point' | 'real_floating_point' | 'complex_floating_point' | 'integer' | 'signed_integer' | 'unsigned_integer'; // tslint-disable-line max-line-length +type Kind = 'all' | 'numeric' | 'real' | 'floating_point' | 'real_floating_point' | 'complex_floating_point' | 'integer' | 'signed_integer' | 'unsigned_integer'; /** * Returns a list of ndarray data types. diff --git a/empty-like/docs/types/index.d.ts b/empty-like/docs/types/index.d.ts index 3f934a89..6f4cfbe7 100644 --- a/empty-like/docs/types/index.d.ts +++ b/empty-like/docs/types/index.d.ts @@ -259,7 +259,7 @@ interface OptionsWithDType extends Options { * dt = y.dtype; * // returns 'float64' */ -declare function emptyLike( x: float64ndarray, options?: Options ): float64ndarray; // tslint:disable-line:max-line-length +declare function emptyLike( x: float64ndarray, options?: Options ): float64ndarray; /** * Creates an uninitialized array having the same shape and data type as a provided input ndarray. @@ -295,7 +295,7 @@ declare function emptyLike( x: float64ndarray, options?: Options ): float64ndarr * dt = y.dtype; * // returns 'float32' */ -declare function emptyLike( x: float32ndarray, options?: Options ): float32ndarray; // tslint:disable-line:max-line-length +declare function emptyLike( x: float32ndarray, options?: Options ): float32ndarray; /** * Creates an uninitialized array having the same shape and data type as a provided input ndarray. @@ -331,7 +331,7 @@ declare function emptyLike( x: float32ndarray, options?: Options ): float32ndarr * dt = y.dtype; * // returns 'complex128' */ -declare function emptyLike( x: complex128ndarray, options?: Options ): complex128ndarray; // tslint:disable-line:max-line-length +declare function emptyLike( x: complex128ndarray, options?: Options ): complex128ndarray; /** * Creates an uninitialized array having the same shape and data type as a provided input ndarray. @@ -367,7 +367,7 @@ declare function emptyLike( x: complex128ndarray, options?: Options ): complex12 * dt = y.dtype; * // returns 'complex64' */ -declare function emptyLike( x: complex64ndarray, options?: Options ): complex64ndarray; // tslint:disable-line:max-line-length +declare function emptyLike( x: complex64ndarray, options?: Options ): complex64ndarray; /** * Creates an uninitialized array having the same shape and data type as a provided input ndarray. @@ -511,7 +511,7 @@ declare function emptyLike( x: int8ndarray, options?: Options ): int8ndarray; * dt = y.dtype; * // returns 'uint32' */ -declare function emptyLike( x: uint32ndarray, options?: Options ): uint32ndarray; // tslint:disable-line:max-line-length +declare function emptyLike( x: uint32ndarray, options?: Options ): uint32ndarray; /** * Creates an uninitialized array having the same shape and data type as a provided input ndarray. @@ -547,7 +547,7 @@ declare function emptyLike( x: uint32ndarray, options?: Options ): uint32ndarray * dt = y.dtype; * // returns 'uint16' */ -declare function emptyLike( x: uint16ndarray, options?: Options ): uint16ndarray; // tslint:disable-line:max-line-length +declare function emptyLike( x: uint16ndarray, options?: Options ): uint16ndarray; /** * Creates an uninitialized array having the same shape and data type as a provided input ndarray. @@ -619,7 +619,7 @@ declare function emptyLike( x: uint8ndarray, options?: Options ): uint8ndarray; * dt = y.dtype; * // returns 'uint8c' */ -declare function emptyLike( x: uint8cndarray, options?: Options ): uint8cndarray; // tslint:disable-line:max-line-length +declare function emptyLike( x: uint8cndarray, options?: Options ): uint8cndarray; /** * Creates an uninitialized double-precision floating-point array having the same shape as a provided input ndarray. @@ -658,7 +658,7 @@ declare function emptyLike( x: uint8cndarray, options?: Options ): uint8cndarray * dt = y.dtype; * // returns 'float64' */ -declare function emptyLike( x: ndarray, options: Float64Options ): float64ndarray; // tslint:disable-line:max-line-length +declare function emptyLike( x: ndarray, options: Float64Options ): float64ndarray; /** * Creates an uninitialized single-precision floating-point array having the same shape as a provided input ndarray. @@ -697,7 +697,7 @@ declare function emptyLike( x: ndarray, options: Float64Options ): float64ndarra * dt = y.dtype; * // returns 'float32' */ -declare function emptyLike( x: ndarray, options: Float32Options ): float32ndarray; // tslint:disable-line:max-line-length +declare function emptyLike( x: ndarray, options: Float32Options ): float32ndarray; /** * Creates an uninitialized double-precision complex floating-point array having the same shape as a provided input ndarray. @@ -736,7 +736,7 @@ declare function emptyLike( x: ndarray, options: Float32Options ): float32ndarra * dt = y.dtype; * // returns 'complex128' */ -declare function emptyLike( x: ndarray, options: Complex128Options ): complex128ndarray; // tslint:disable-line:max-line-length +declare function emptyLike( x: ndarray, options: Complex128Options ): complex128ndarray; /** * Creates an uninitialized single-precision complex floating-point array having the same shape as a provided input ndarray. @@ -775,7 +775,7 @@ declare function emptyLike( x: ndarray, options: Complex128Options ): complex128 * dt = y.dtype; * // returns 'complex64' */ -declare function emptyLike( x: ndarray, options: Complex64Options ): complex64ndarray; // tslint:disable-line:max-line-length +declare function emptyLike( x: ndarray, options: Complex64Options ): complex64ndarray; /** * Creates an uninitialized 32-bit signed integer array having the same shape as a provided input ndarray. @@ -1085,7 +1085,7 @@ declare function emptyLike( x: ndarray, options: Uint8COptions ): uint8cndarray; * dt = y.dtype; * // returns 'generic' */ -declare function emptyLike( x: ndarray, options?: Options | OptionsWithDType ): typedndarray; // tslint:disable-line:max-line-length +declare function emptyLike( x: ndarray, options?: Options | OptionsWithDType ): typedndarray; // EXPORTS // diff --git a/empty/docs/types/index.d.ts b/empty/docs/types/index.d.ts index e601e96b..a4ab4c59 100644 --- a/empty/docs/types/index.d.ts +++ b/empty/docs/types/index.d.ts @@ -237,7 +237,7 @@ interface OptionsWithDType extends Options { * var dt = arr.dtype; * // returns 'float64' */ -declare function empty( shape: Shape | number, options: Float64Options ): float64ndarray; // tslint:disable-line:max-line-length +declare function empty( shape: Shape | number, options: Float64Options ): float64ndarray; /** * Creates an uninitialized array having a specified shape and data type. @@ -262,7 +262,7 @@ declare function empty( shape: Shape | number, options: Float64Options ): float6 * var dt = arr.dtype; * // returns 'float32' */ -declare function empty( shape: Shape | number, options: Float32Options ): float32ndarray; // tslint:disable-line:max-line-length +declare function empty( shape: Shape | number, options: Float32Options ): float32ndarray; /** * Creates an uninitialized array having a specified shape and data type. @@ -287,7 +287,7 @@ declare function empty( shape: Shape | number, options: Float32Options ): float3 * var dt = arr.dtype; * // returns 'complex128' */ -declare function empty( shape: Shape | number, options: Complex128Options ): complex128ndarray; // tslint:disable-line:max-line-length +declare function empty( shape: Shape | number, options: Complex128Options ): complex128ndarray; /** * Creates an uninitialized array having a specified shape and data type. @@ -312,7 +312,7 @@ declare function empty( shape: Shape | number, options: Complex128Options ): com * var dt = arr.dtype; * // returns 'complex64' */ -declare function empty( shape: Shape | number, options: Complex64Options ): complex64ndarray; // tslint:disable-line:max-line-length +declare function empty( shape: Shape | number, options: Complex64Options ): complex64ndarray; /** * Creates an uninitialized array having a specified shape and data type. @@ -337,7 +337,7 @@ declare function empty( shape: Shape | number, options: Complex64Options ): comp * var dt = arr.dtype; * // returns 'int32' */ -declare function empty( shape: Shape | number, options: Int32Options ): int32ndarray; // tslint:disable-line:max-line-length +declare function empty( shape: Shape | number, options: Int32Options ): int32ndarray; /** * Creates an uninitialized array having a specified shape and data type. @@ -362,7 +362,7 @@ declare function empty( shape: Shape | number, options: Int32Options ): int32nda * var dt = arr.dtype; * // returns 'int16' */ -declare function empty( shape: Shape | number, options: Int16Options ): int16ndarray; // tslint:disable-line:max-line-length +declare function empty( shape: Shape | number, options: Int16Options ): int16ndarray; /** * Creates an uninitialized array having a specified shape and data type. @@ -387,7 +387,7 @@ declare function empty( shape: Shape | number, options: Int16Options ): int16nda * var dt = arr.dtype; * // returns 'int8' */ -declare function empty( shape: Shape | number, options: Int8Options ): int8ndarray; // tslint:disable-line:max-line-length +declare function empty( shape: Shape | number, options: Int8Options ): int8ndarray; /** * Creates an uninitialized array having a specified shape and data type. @@ -412,7 +412,7 @@ declare function empty( shape: Shape | number, options: Int8Options ): int8ndarr * var dt = arr.dtype; * // returns 'uint32' */ -declare function empty( shape: Shape | number, options: Uint32Options ): uint32ndarray; // tslint:disable-line:max-line-length +declare function empty( shape: Shape | number, options: Uint32Options ): uint32ndarray; /** * Creates an uninitialized array having a specified shape and data type. @@ -437,7 +437,7 @@ declare function empty( shape: Shape | number, options: Uint32Options ): uint32n * var dt = arr.dtype; * // returns 'uint16' */ -declare function empty( shape: Shape | number, options: Uint16Options ): uint16ndarray; // tslint:disable-line:max-line-length +declare function empty( shape: Shape | number, options: Uint16Options ): uint16ndarray; /** * Creates an uninitialized array having a specified shape and data type. @@ -462,7 +462,7 @@ declare function empty( shape: Shape | number, options: Uint16Options ): uint16n * var dt = arr.dtype; * // returns 'uint8' */ -declare function empty( shape: Shape | number, options: Uint8Options ): uint8ndarray; // tslint:disable-line:max-line-length +declare function empty( shape: Shape | number, options: Uint8Options ): uint8ndarray; /** * Creates an uninitialized array having a specified shape and data type. @@ -487,7 +487,7 @@ declare function empty( shape: Shape | number, options: Uint8Options ): uint8nda * var dt = arr.dtype; * // returns 'uint8c' */ -declare function empty( shape: Shape | number, options: Uint8COptions ): uint8cndarray; // tslint:disable-line:max-line-length +declare function empty( shape: Shape | number, options: Uint8COptions ): uint8cndarray; /** * Creates an uninitialized array having a specified shape and data type. @@ -510,7 +510,7 @@ declare function empty( shape: Shape | number, options: Uint8COptions ): uint8cn * var dt = arr.dtype; * // returns 'float64' */ -declare function empty( shape: Shape | number, options?: Options ): float64ndarray; // tslint:disable-line:max-line-length +declare function empty( shape: Shape | number, options?: Options ): float64ndarray; /** * Creates an uninitialized array having a specified shape and data type. @@ -533,7 +533,7 @@ declare function empty( shape: Shape | number, options?: Options ): float64ndarr * var dt = arr.dtype; * // returns 'float64' */ -declare function empty( shape: Shape | number, options?: OptionsWithDType ): typedndarray; // tslint:disable-line:max-line-length unified-signatures +declare function empty( shape: Shape | number, options?: OptionsWithDType ): typedndarray; unified-signatures // EXPORTS // diff --git a/from-scalar/docs/types/index.d.ts b/from-scalar/docs/types/index.d.ts index 5ad3791a..5e0417cd 100644 --- a/from-scalar/docs/types/index.d.ts +++ b/from-scalar/docs/types/index.d.ts @@ -180,7 +180,7 @@ interface Uint8cOptions extends BaseOptions { * var v = x.get(); * // returns 1.0 */ -declare function scalar2ndarray( value: number, options: Float64Options ): float64ndarray; // tslint:disable-line:max-line-length +declare function scalar2ndarray( value: number, options: Float64Options ): float64ndarray; /** * Returns a zero-dimensional ndarray containing a provided scalar value. @@ -204,7 +204,7 @@ declare function scalar2ndarray( value: number, options: Float64Options ): float * var v = x.get(); * // returns 1.0 */ -declare function scalar2ndarray( value: number, options: Float32Options ): float32ndarray; // tslint:disable-line:max-line-length +declare function scalar2ndarray( value: number, options: Float32Options ): float32ndarray; /** * Returns a zero-dimensional ndarray containing a provided scalar value. @@ -244,7 +244,7 @@ declare function scalar2ndarray( value: number, options: Float32Options ): float * var im = imag( v ); * // returns 2.0 */ -declare function scalar2ndarray( value: number | ComplexLike, options: Complex128Options ): complex128ndarray; // tslint:disable-line:max-line-length +declare function scalar2ndarray( value: number | ComplexLike, options: Complex128Options ): complex128ndarray; /** * Returns a zero-dimensional ndarray containing a provided scalar value. @@ -284,7 +284,7 @@ declare function scalar2ndarray( value: number | ComplexLike, options: Complex12 * var im = imagf( v ); * // returns 2.0 */ -declare function scalar2ndarray( value: number | ComplexLike, options: Complex64Options ): complex64ndarray; // tslint:disable-line:max-line-length +declare function scalar2ndarray( value: number | ComplexLike, options: Complex64Options ): complex64ndarray; /** * Returns a zero-dimensional ndarray containing a provided scalar value. @@ -308,7 +308,7 @@ declare function scalar2ndarray( value: number | ComplexLike, options: Complex64 * var v = x.get(); * // returns 1 */ -declare function scalar2ndarray( value: number, options: Int32Options ): int32ndarray; // tslint:disable-line:max-line-length +declare function scalar2ndarray( value: number, options: Int32Options ): int32ndarray; /** * Returns a zero-dimensional ndarray containing a provided scalar value. @@ -332,7 +332,7 @@ declare function scalar2ndarray( value: number, options: Int32Options ): int32nd * var v = x.get(); * // returns 1 */ -declare function scalar2ndarray( value: number, options: Int16Options ): int16ndarray; // tslint:disable-line:max-line-length +declare function scalar2ndarray( value: number, options: Int16Options ): int16ndarray; /** * Returns a zero-dimensional ndarray containing a provided scalar value. @@ -356,7 +356,7 @@ declare function scalar2ndarray( value: number, options: Int16Options ): int16nd * var v = x.get(); * // returns 1 */ -declare function scalar2ndarray( value: number, options: Int8Options ): int8ndarray; // tslint:disable-line:max-line-length +declare function scalar2ndarray( value: number, options: Int8Options ): int8ndarray; /** * Returns a zero-dimensional ndarray containing a provided scalar value. @@ -380,7 +380,7 @@ declare function scalar2ndarray( value: number, options: Int8Options ): int8ndar * var v = x.get(); * // returns 1 */ -declare function scalar2ndarray( value: number, options: Uint32Options ): uint32ndarray; // tslint:disable-line:max-line-length +declare function scalar2ndarray( value: number, options: Uint32Options ): uint32ndarray; /** * Returns a zero-dimensional ndarray containing a provided scalar value. @@ -404,7 +404,7 @@ declare function scalar2ndarray( value: number, options: Uint32Options ): uint32 * var v = x.get(); * // returns 1 */ -declare function scalar2ndarray( value: number, options: Uint16Options ): uint16ndarray; // tslint:disable-line:max-line-length +declare function scalar2ndarray( value: number, options: Uint16Options ): uint16ndarray; /** * Returns a zero-dimensional ndarray containing a provided scalar value. @@ -428,7 +428,7 @@ declare function scalar2ndarray( value: number, options: Uint16Options ): uint16 * var v = x.get(); * // returns 1 */ -declare function scalar2ndarray( value: number, options: Uint8Options ): uint8ndarray; // tslint:disable-line:max-line-length +declare function scalar2ndarray( value: number, options: Uint8Options ): uint8ndarray; /** * Returns a zero-dimensional ndarray containing a provided scalar value. @@ -452,7 +452,7 @@ declare function scalar2ndarray( value: number, options: Uint8Options ): uint8nd * var v = x.get(); * // returns 1 */ -declare function scalar2ndarray( value: number, options: Uint8cOptions ): uint8cndarray; // tslint:disable-line:max-line-length +declare function scalar2ndarray( value: number, options: Uint8cOptions ): uint8cndarray; /** * Returns a zero-dimensional ndarray containing a provided scalar value. diff --git a/ind2sub/docs/types/index.d.ts b/ind2sub/docs/types/index.d.ts index 06bb6c09..fcdc9428 100644 --- a/ind2sub/docs/types/index.d.ts +++ b/ind2sub/docs/types/index.d.ts @@ -102,7 +102,7 @@ interface Ind2Sub { * var bool = ( s === out ); * // returns true */ - assign( shape: ArrayLike, idx: number, options: Options, out: any ): Array; // tslint-disable-line max-line-length + assign( shape: ArrayLike, idx: number, options: Options, out: any ): Array; /** * Converts a linear index to an array of subscripts and assigns results to a provided output array. diff --git a/iter/docs/types/index.d.ts b/iter/docs/types/index.d.ts index 6d986611..17e72eae 100644 --- a/iter/docs/types/index.d.ts +++ b/iter/docs/types/index.d.ts @@ -18,8 +18,7 @@ // TypeScript Version: 4.1 -/* tslint:disable:max-line-length */ -/* tslint:disable:max-file-line-count */ +/* eslint-disable max-lines */ import nditerColumns = require( './../../../iter/columns' ); import nditerEntries = require( './../../../iter/entries' ); diff --git a/promotion-rules/docs/types/index.d.ts b/promotion-rules/docs/types/index.d.ts index 4483747a..5219544a 100644 --- a/promotion-rules/docs/types/index.d.ts +++ b/promotion-rules/docs/types/index.d.ts @@ -45,7 +45,7 @@ interface Table { * var dt = promotionRules( 'float32', 'foo' ); * // returns null */ -declare function promotionRules( dtype1: any, dtype2: any ): number | string | null; // tslint-disable-line max-line-length +declare function promotionRules( dtype1: any, dtype2: any ): number | string | null; /** * Returns a type promotion table displaying the ndarray data types with the smallest size and closest "kind" to which ndarray data types can be safely cast. diff --git a/sub2ind/docs/types/index.d.ts b/sub2ind/docs/types/index.d.ts index 1d6c0b9b..6f67db17 100644 --- a/sub2ind/docs/types/index.d.ts +++ b/sub2ind/docs/types/index.d.ts @@ -66,7 +66,7 @@ interface Options { * var i = sub2ind( [ 3, 3, 3 ], 1, 2, 2 ); * // returns 17 */ -declare function sub2ind( shape: ArrayLike, ...args: Array ): number; // tslint-disable-line max-line-length +declare function sub2ind( shape: ArrayLike, ...args: Array ): number; // EXPORTS // diff --git a/zeros-like/docs/types/index.d.ts b/zeros-like/docs/types/index.d.ts index 430451f2..737ecaf2 100644 --- a/zeros-like/docs/types/index.d.ts +++ b/zeros-like/docs/types/index.d.ts @@ -265,7 +265,7 @@ interface OptionsWithDType extends Options { * dt = y.dtype; * // returns 'float64' */ -declare function zerosLike( x: float64ndarray, options?: Options ): float64ndarray; // tslint:disable-line:max-line-length +declare function zerosLike( x: float64ndarray, options?: Options ): float64ndarray; /** * Creates a zero-filled array having the same shape and data type as a provided input ndarray. @@ -302,7 +302,7 @@ declare function zerosLike( x: float64ndarray, options?: Options ): float64ndarr * dt = y.dtype; * // returns 'float32' */ -declare function zerosLike( x: float32ndarray, options?: Options ): float32ndarray; // tslint:disable-line:max-line-length +declare function zerosLike( x: float32ndarray, options?: Options ): float32ndarray; /** * Creates a zero-filled array having the same shape and data type as a provided input ndarray. @@ -339,7 +339,7 @@ declare function zerosLike( x: float32ndarray, options?: Options ): float32ndarr * dt = y.dtype; * // returns 'complex128' */ -declare function zerosLike( x: complex128ndarray, options?: Options ): complex128ndarray; // tslint:disable-line:max-line-length +declare function zerosLike( x: complex128ndarray, options?: Options ): complex128ndarray; /** * Creates a zero-filled array having the same shape and data type as a provided input ndarray. @@ -376,7 +376,7 @@ declare function zerosLike( x: complex128ndarray, options?: Options ): complex12 * dt = y.dtype; * // returns 'complex64' */ -declare function zerosLike( x: complex64ndarray, options?: Options ): complex64ndarray; // tslint:disable-line:max-line-length +declare function zerosLike( x: complex64ndarray, options?: Options ): complex64ndarray; /** * Creates a zero-filled array having the same shape and data type as a provided input ndarray. @@ -524,7 +524,7 @@ declare function zerosLike( x: int8ndarray, options?: Options ): int8ndarray; * dt = y.dtype; * // returns 'uint32' */ -declare function zerosLike( x: uint32ndarray, options?: Options ): uint32ndarray; // tslint:disable-line:max-line-length +declare function zerosLike( x: uint32ndarray, options?: Options ): uint32ndarray; /** * Creates a zero-filled array having the same shape and data type as a provided input ndarray. @@ -561,7 +561,7 @@ declare function zerosLike( x: uint32ndarray, options?: Options ): uint32ndarray * dt = y.dtype; * // returns 'uint16' */ -declare function zerosLike( x: uint16ndarray, options?: Options ): uint16ndarray; // tslint:disable-line:max-line-length +declare function zerosLike( x: uint16ndarray, options?: Options ): uint16ndarray; /** * Creates a zero-filled array having the same shape and data type as a provided input ndarray. @@ -635,7 +635,7 @@ declare function zerosLike( x: uint8ndarray, options?: Options ): uint8ndarray; * dt = y.dtype; * // returns 'uint8c' */ -declare function zerosLike( x: uint8cndarray, options?: Options ): uint8cndarray; // tslint:disable-line:max-line-length +declare function zerosLike( x: uint8cndarray, options?: Options ): uint8cndarray; /** * Creates a zero-filled double-precision floating-point array having the same shape as a provided input ndarray. @@ -675,7 +675,7 @@ declare function zerosLike( x: uint8cndarray, options?: Options ): uint8cndarray * dt = y.dtype; * // returns 'float64' */ -declare function zerosLike( x: ndarray, options: Float64Options ): float64ndarray; // tslint:disable-line:max-line-length +declare function zerosLike( x: ndarray, options: Float64Options ): float64ndarray; /** * Creates a zero-filled single-precision floating-point array having the same shape as a provided input ndarray. @@ -715,7 +715,7 @@ declare function zerosLike( x: ndarray, options: Float64Options ): float64ndarra * dt = y.dtype; * // returns 'float32' */ -declare function zerosLike( x: ndarray, options: Float32Options ): float32ndarray; // tslint:disable-line:max-line-length +declare function zerosLike( x: ndarray, options: Float32Options ): float32ndarray; /** * Creates a zero-filled double-precision complex floating-point array having the same shape as a provided input ndarray. @@ -755,7 +755,7 @@ declare function zerosLike( x: ndarray, options: Float32Options ): float32ndarra * dt = y.dtype; * // returns 'complex128' */ -declare function zerosLike( x: ndarray, options: Complex128Options ): complex128ndarray; // tslint:disable-line:max-line-length +declare function zerosLike( x: ndarray, options: Complex128Options ): complex128ndarray; /** * Creates a zero-filled single-precision complex floating-point array having the same shape as a provided input ndarray. @@ -795,7 +795,7 @@ declare function zerosLike( x: ndarray, options: Complex128Options ): complex128 * dt = y.dtype; * // returns 'complex64' */ -declare function zerosLike( x: ndarray, options: Complex64Options ): complex64ndarray; // tslint:disable-line:max-line-length +declare function zerosLike( x: ndarray, options: Complex64Options ): complex64ndarray; /** * Creates a zero-filled 32-bit signed integer array having the same shape as a provided input ndarray. @@ -1113,7 +1113,7 @@ declare function zerosLike( x: ndarray, options: Uint8COptions ): uint8cndarray; * dt = y.dtype; * // returns 'generic' */ -declare function zerosLike( x: ndarray, options?: Options | OptionsWithDType ): typedndarray; // tslint:disable-line:max-line-length +declare function zerosLike( x: ndarray, options?: Options | OptionsWithDType ): typedndarray; // EXPORTS // diff --git a/zeros/docs/types/index.d.ts b/zeros/docs/types/index.d.ts index a5882ddd..0906ef21 100644 --- a/zeros/docs/types/index.d.ts +++ b/zeros/docs/types/index.d.ts @@ -243,7 +243,7 @@ interface OptionsWithDType extends Options { * var dt = arr.dtype; * // returns 'float64' */ -declare function zeros( shape: Shape | number, options: Float64Options ): float64ndarray; // tslint:disable-line:max-line-length +declare function zeros( shape: Shape | number, options: Float64Options ): float64ndarray; /** * Creates a zero-filled array having a specified shape and data type. @@ -269,7 +269,7 @@ declare function zeros( shape: Shape | number, options: Float64Options ): float6 * var dt = arr.dtype; * // returns 'float32' */ -declare function zeros( shape: Shape | number, options: Float32Options ): float32ndarray; // tslint:disable-line:max-line-length +declare function zeros( shape: Shape | number, options: Float32Options ): float32ndarray; /** * Creates a zero-filled array having a specified shape and data type. @@ -295,7 +295,7 @@ declare function zeros( shape: Shape | number, options: Float32Options ): float3 * var dt = arr.dtype; * // returns 'complex128' */ -declare function zeros( shape: Shape | number, options: Complex128Options ): complex128ndarray; // tslint:disable-line:max-line-length +declare function zeros( shape: Shape | number, options: Complex128Options ): complex128ndarray; /** * Creates a zero-filled array having a specified shape and data type. @@ -321,7 +321,7 @@ declare function zeros( shape: Shape | number, options: Complex128Options ): com * var dt = arr.dtype; * // returns 'complex64' */ -declare function zeros( shape: Shape | number, options: Complex64Options ): complex64ndarray; // tslint:disable-line:max-line-length +declare function zeros( shape: Shape | number, options: Complex64Options ): complex64ndarray; /** * Creates a zero-filled array having a specified shape and data type. @@ -347,7 +347,7 @@ declare function zeros( shape: Shape | number, options: Complex64Options ): comp * var dt = arr.dtype; * // returns 'int32' */ -declare function zeros( shape: Shape | number, options: Int32Options ): int32ndarray; // tslint:disable-line:max-line-length +declare function zeros( shape: Shape | number, options: Int32Options ): int32ndarray; /** * Creates a zero-filled array having a specified shape and data type. @@ -373,7 +373,7 @@ declare function zeros( shape: Shape | number, options: Int32Options ): int32nda * var dt = arr.dtype; * // returns 'int16' */ -declare function zeros( shape: Shape | number, options: Int16Options ): int16ndarray; // tslint:disable-line:max-line-length +declare function zeros( shape: Shape | number, options: Int16Options ): int16ndarray; /** * Creates a zero-filled array having a specified shape and data type. @@ -399,7 +399,7 @@ declare function zeros( shape: Shape | number, options: Int16Options ): int16nda * var dt = arr.dtype; * // returns 'int8' */ -declare function zeros( shape: Shape | number, options: Int8Options ): int8ndarray; // tslint:disable-line:max-line-length +declare function zeros( shape: Shape | number, options: Int8Options ): int8ndarray; /** * Creates a zero-filled array having a specified shape and data type. @@ -425,7 +425,7 @@ declare function zeros( shape: Shape | number, options: Int8Options ): int8ndarr * var dt = arr.dtype; * // returns 'uint32' */ -declare function zeros( shape: Shape | number, options: Uint32Options ): uint32ndarray; // tslint:disable-line:max-line-length +declare function zeros( shape: Shape | number, options: Uint32Options ): uint32ndarray; /** * Creates a zero-filled array having a specified shape and data type. @@ -451,7 +451,7 @@ declare function zeros( shape: Shape | number, options: Uint32Options ): uint32n * var dt = arr.dtype; * // returns 'uint16' */ -declare function zeros( shape: Shape | number, options: Uint16Options ): uint16ndarray; // tslint:disable-line:max-line-length +declare function zeros( shape: Shape | number, options: Uint16Options ): uint16ndarray; /** * Creates a zero-filled array having a specified shape and data type. @@ -477,7 +477,7 @@ declare function zeros( shape: Shape | number, options: Uint16Options ): uint16n * var dt = arr.dtype; * // returns 'uint8' */ -declare function zeros( shape: Shape | number, options: Uint8Options ): uint8ndarray; // tslint:disable-line:max-line-length +declare function zeros( shape: Shape | number, options: Uint8Options ): uint8ndarray; /** * Creates a zero-filled array having a specified shape and data type. @@ -503,7 +503,7 @@ declare function zeros( shape: Shape | number, options: Uint8Options ): uint8nda * var dt = arr.dtype; * // returns 'uint8c' */ -declare function zeros( shape: Shape | number, options: Uint8COptions ): uint8cndarray; // tslint:disable-line:max-line-length +declare function zeros( shape: Shape | number, options: Uint8COptions ): uint8cndarray; /** * Creates a zero-filled array having a specified shape and data type. @@ -527,7 +527,7 @@ declare function zeros( shape: Shape | number, options: Uint8COptions ): uint8cn * var dt = arr.dtype; * // returns 'float64' */ -declare function zeros( shape: Shape | number, options?: Options ): float64ndarray; // tslint:disable-line:max-line-length +declare function zeros( shape: Shape | number, options?: Options ): float64ndarray; /** * Creates a zero-filled array having a specified shape and data type. @@ -551,7 +551,7 @@ declare function zeros( shape: Shape | number, options?: Options ): float64ndarr * var dt = arr.dtype; * // returns 'float64' */ -declare function zeros( shape: Shape | number, options?: OptionsWithDType ): typedndarray; // tslint:disable-line:max-line-length unified-signatures +declare function zeros( shape: Shape | number, options?: OptionsWithDType ): typedndarray; unified-signatures // EXPORTS //