Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Nov 12, 2023
1 parent 80b464b commit 5b2d8ae
Show file tree
Hide file tree
Showing 34 changed files with 40 additions and 55 deletions.
2 changes: 1 addition & 1 deletion base/accessor-getter/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function accessorArray(): AccessorArrayLike<number> {
'3': 4,
'length': 4,
'get': ( idx: number ): number => {
return arr[ idx ]; // tslint:disable-line:no-unsafe-any
return arr[ idx ];
},
'set': ( value: number, idx: number ): void => {
arr[ idx ] = value;
Expand Down
2 changes: 1 addition & 1 deletion base/accessor-setter/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function accessorArray(): AccessorArrayLike<number> {
'3': 4,
'length': 4,
'get': ( idx: number ): number => {
return arr[ idx ]; // tslint:disable-line:no-unsafe-any
return arr[ idx ];
},
'set': ( value: number, idx: number ): void => {
arr[ idx ] = value;
Expand Down
2 changes: 1 addition & 1 deletion base/accessor/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// tslint:disable:no-unused-expression
/* eslint-disable @typescript-eslint/no-unused-expressions */

import AccessorArray = require( './index' );

Expand Down
2 changes: 1 addition & 1 deletion base/accessors/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function accessorArray(): AccessorArrayLike<number> {
'3': 4,
'length': 4,
'get': ( idx: number ): number => {
return arr[ idx ]; // tslint:disable-line:no-unsafe-any
return arr[ idx ];
},
'set': ( value: number, idx: number ): void => {
arr[ idx ] = value;
Expand Down
2 changes: 1 addition & 1 deletion base/arraylike2object/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function accessorArray(): AccessorArrayLike<number> {
'3': 4,
'length': 4,
'get': ( idx: number ): number => {
return arr[ idx ]; // tslint:disable-line:no-unsafe-any
return arr[ idx ];
},
'set': ( value: number, idx: number ): void => {
arr[ idx ] = value;
Expand Down
2 changes: 1 addition & 1 deletion base/assert/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

/* tslint:disable:no-unused-expression */
/* eslint-disable @typescript-eslint/no-unused-expressions */

import ns = require( './index' );

Expand Down
2 changes: 1 addition & 1 deletion base/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

/* tslint:disable:no-unused-expression */
/* eslint-disable @typescript-eslint/no-unused-expressions */

import ns = require( './index' );

Expand Down
2 changes: 1 addition & 1 deletion base/fillednd-by/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type Array1D<T> = Array<T>;
/**
* One-dimensional array shape.
*/
type Shape1D = [ number ]; // tslint:disable-line:no-single-element-tuple-type
type Shape1D = [ number ];

/**
* Two-dimensional array.
Expand Down
2 changes: 1 addition & 1 deletion base/fillednd/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type Array1D<T> = Array<T>;
/**
* One-dimensional array shape.
*/
type Shape1D = [ number ]; // tslint:disable-line:no-single-element-tuple-type
type Shape1D = [ number ];

/**
* Two-dimensional array.
Expand Down
4 changes: 2 additions & 2 deletions base/flatten-by/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

// TypeScript Version: 4.1

Expand All @@ -27,7 +27,7 @@ import { Collection, Array1D, Array2D, Array3D, Array4D, Array5D, Array6D, Array
/**
* One-dimensional array shape.
*/
type Shape1D = [ number ]; // tslint:disable-line:no-single-element-tuple-type
type Shape1D = [ number ];

/**
* Two-dimensional array shape.
Expand Down
2 changes: 1 addition & 1 deletion base/onesnd/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type Array1D<T> = Array<T>;
/**
* One-dimensional array shape.
*/
type Shape1D = [ number ]; // tslint:disable-line:no-single-element-tuple-type
type Shape1D = [ number ];

/**
* Two-dimensional array.
Expand Down
2 changes: 1 addition & 1 deletion base/zerosnd/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type Array1D<T> = Array<T>;
/**
* One-dimensional array shape.
*/
type Shape1D = [ number ]; // tslint:disable-line:no-single-element-tuple-type
type Shape1D = [ number ];

/**
* Two-dimensional array.
Expand Down
3 changes: 1 addition & 2 deletions buffer/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
* limitations under the License.
*/

// tslint:disable: no-construct
// tslint:disable: no-unused-expression
/* eslint-disable @typescript-eslint/no-unused-expressions */

import ArrayBuffer = require( './index' );

Expand Down
2 changes: 1 addition & 1 deletion complex128/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// tslint:disable:no-unused-expression
/* eslint-disable @typescript-eslint/no-unused-expressions */

import Complex128Array = require( './index' );
import Complex128 = require( '@stdlib/complex/float64' );
Expand Down
2 changes: 1 addition & 1 deletion complex64/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// tslint:disable:no-unused-expression
/* eslint-disable @typescript-eslint/no-unused-expressions */

import Complex64Array = require( './index' );
import Complex64 = require( '@stdlib/complex/float32' );
Expand Down
3 changes: 1 addition & 2 deletions dataview/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
* limitations under the License.
*/

// tslint:disable: no-construct
// tslint:disable: no-unused-expression
/* eslint-disable @typescript-eslint/no-unused-expressions */

import ArrayBuffer = require( './../../../buffer' );
import DataView = require( './index' );
Expand Down
2 changes: 1 addition & 1 deletion docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

/* tslint:disable:no-unused-expression */
/* eslint-disable @typescript-eslint/no-unused-expressions */

import ns = require( './index' );

Expand Down
2 changes: 1 addition & 1 deletion filled-by/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ type Callback = Nullary | Unary;
* var arr = filledarrayBy( 'float32' );
* // returns <Float32Array>
*/
declare function filledarrayBy( dtype?: DataType ): ArrayOrTypedArray; // tslint:disable-line:unified-signatures
declare function filledarrayBy( dtype?: DataType ): ArrayOrTypedArray; // eslint-disable-line @typescript-eslint/unified-signatures

/**
* Creates a filled array according to a provided callback function and having a specified `length`.
Expand Down
3 changes: 1 addition & 2 deletions float32/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
* limitations under the License.
*/

// tslint:disable: no-construct
// tslint:disable: no-unused-expression
/* eslint-disable @typescript-eslint/no-unused-expressions */

import Float32Array = require( './index' );

Expand Down
3 changes: 1 addition & 2 deletions float64/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
* limitations under the License.
*/

// tslint:disable: no-construct
// tslint:disable: no-unused-expression
/* eslint-disable @typescript-eslint/no-unused-expressions */

import Float64Array = require( './index' );

Expand Down
3 changes: 1 addition & 2 deletions int16/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
* limitations under the License.
*/

// tslint:disable: no-construct
// tslint:disable: no-unused-expression
/* eslint-disable @typescript-eslint/no-unused-expressions */

import Int16Array = require( './index' );

Expand Down
3 changes: 1 addition & 2 deletions int32/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
* limitations under the License.
*/

// tslint:disable: no-construct
// tslint:disable: no-unused-expression
/* eslint-disable @typescript-eslint/no-unused-expressions */

import Int32Array = require( './index' );

Expand Down
3 changes: 1 addition & 2 deletions int8/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
* limitations under the License.
*/

// tslint:disable: no-construct
// tslint:disable: no-unused-expression
/* eslint-disable @typescript-eslint/no-unused-expressions */

import Int8Array = require( './index' );

Expand Down
10 changes: 5 additions & 5 deletions next-dtype/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ declare function nextDataType( dtype: 'float32' ): 'float64';
* var dt = nextDataType( 'int32' );
* // returns -1
*/
declare function nextDataType( dtype: 'int32' ): number; // tslint:disable-line:unified-signatures
declare function nextDataType( dtype: 'int32' ): number; // eslint-disable-line @typescript-eslint/unified-signatures

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

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

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

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

/**
* Returns the next larger array data type of the same kind.
Expand Down
4 changes: 2 additions & 2 deletions pool/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
* limitations under the License.
*/

/* tslint:disable:no-empty */
/* tslint:disable:no-unused-expression */
/* eslint-disable no-empty */
/* eslint-disable @typescript-eslint/no-unused-expressions */

import typedarraypool = require( './index' );

Expand Down
4 changes: 1 addition & 3 deletions shared-buffer/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,4 @@
/**
* Constructor returning an object used to represent a generic, fixed-length raw binary data buffer which can be used to create views of shared memory.
*/
export = SharedArrayBuffer; // tslint:disable-line

// FIXME: need to address TSLint errors regarding ES version
export = SharedArrayBuffer;
4 changes: 1 addition & 3 deletions shared-buffer/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
* limitations under the License.
*/

// tslint:disable: no-construct
// tslint:disable: no-unused-expression
// tslint:disable: no-unsafe-any
/* eslint-disable @typescript-eslint/no-unused-expressions */

import SharedArrayBuffer = require( './index' );

Expand Down
2 changes: 1 addition & 1 deletion typed-complex/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

// TypeScript Version: 4.1

// tslint:disable:unified-signatures
/* eslint-disable @typescript-eslint/unified-signatures */

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

Expand Down
2 changes: 1 addition & 1 deletion typed-real/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

// TypeScript Version: 4.1

// tslint:disable:unified-signatures
/* eslint-disable @typescript-eslint/unified-signatures */

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

Expand Down
2 changes: 1 addition & 1 deletion typed/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

// TypeScript Version: 4.1

// tslint:disable:unified-signatures
/* eslint-disable @typescript-eslint/unified-signatures */

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

Expand Down
3 changes: 1 addition & 2 deletions uint16/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
* limitations under the License.
*/

// tslint:disable: no-construct
// tslint:disable: no-unused-expression
/* eslint-disable @typescript-eslint/no-unused-expressions */

import Uint16Array = require( './index' );

Expand Down
3 changes: 1 addition & 2 deletions uint32/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
* limitations under the License.
*/

// tslint:disable: no-construct
// tslint:disable: no-unused-expression
/* eslint-disable @typescript-eslint/no-unused-expressions */

import Uint32Array = require( './index' );

Expand Down
3 changes: 1 addition & 2 deletions uint8/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
* limitations under the License.
*/

// tslint:disable: no-construct
// tslint:disable: no-unused-expression
/* eslint-disable @typescript-eslint/no-unused-expressions */

import Uint8Array = require( './index' );

Expand Down
3 changes: 1 addition & 2 deletions uint8c/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
* limitations under the License.
*/

// tslint:disable: no-construct
// tslint:disable: no-unused-expression
/* eslint-disable @typescript-eslint/no-unused-expressions */

import Uint8ClampedArray = require( './index' );

Expand Down

0 comments on commit 5b2d8ae

Please sign in to comment.