Skip to content

Commit 5b2d8ae

Browse files
committed
Auto-generated commit
1 parent 80b464b commit 5b2d8ae

File tree

34 files changed

+40
-55
lines changed

34 files changed

+40
-55
lines changed

base/accessor-getter/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function accessorArray(): AccessorArrayLike<number> {
3737
'3': 4,
3838
'length': 4,
3939
'get': ( idx: number ): number => {
40-
return arr[ idx ]; // tslint:disable-line:no-unsafe-any
40+
return arr[ idx ];
4141
},
4242
'set': ( value: number, idx: number ): void => {
4343
arr[ idx ] = value;

base/accessor-setter/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function accessorArray(): AccessorArrayLike<number> {
3939
'3': 4,
4040
'length': 4,
4141
'get': ( idx: number ): number => {
42-
return arr[ idx ]; // tslint:disable-line:no-unsafe-any
42+
return arr[ idx ];
4343
},
4444
'set': ( value: number, idx: number ): void => {
4545
arr[ idx ] = value;

base/accessor/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

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

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

base/accessors/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function accessorArray(): AccessorArrayLike<number> {
3737
'3': 4,
3838
'length': 4,
3939
'get': ( idx: number ): number => {
40-
return arr[ idx ]; // tslint:disable-line:no-unsafe-any
40+
return arr[ idx ];
4141
},
4242
'set': ( value: number, idx: number ): void => {
4343
arr[ idx ] = value;

base/arraylike2object/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function accessorArray(): AccessorArrayLike<number> {
3737
'3': 4,
3838
'length': 4,
3939
'get': ( idx: number ): number => {
40-
return arr[ idx ]; // tslint:disable-line:no-unsafe-any
40+
return arr[ idx ];
4141
},
4242
'set': ( value: number, idx: number ): void => {
4343
arr[ idx ] = value;

base/assert/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

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

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

base/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

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

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

base/fillednd-by/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ type Array1D<T> = Array<T>;
3030
/**
3131
* One-dimensional array shape.
3232
*/
33-
type Shape1D = [ number ]; // tslint:disable-line:no-single-element-tuple-type
33+
type Shape1D = [ number ];
3434

3535
/**
3636
* Two-dimensional array.

base/fillednd/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ type Array1D<T> = Array<T>;
3030
/**
3131
* One-dimensional array shape.
3232
*/
33-
type Shape1D = [ number ]; // tslint:disable-line:no-single-element-tuple-type
33+
type Shape1D = [ number ];
3434

3535
/**
3636
* Two-dimensional array.

base/flatten-by/docs/types/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

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

2121
// TypeScript Version: 4.1
2222

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

3232
/**
3333
* Two-dimensional array shape.

base/onesnd/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ type Array1D<T> = Array<T>;
3030
/**
3131
* One-dimensional array shape.
3232
*/
33-
type Shape1D = [ number ]; // tslint:disable-line:no-single-element-tuple-type
33+
type Shape1D = [ number ];
3434

3535
/**
3636
* Two-dimensional array.

base/zerosnd/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ type Array1D<T> = Array<T>;
3131
/**
3232
* One-dimensional array shape.
3333
*/
34-
type Shape1D = [ number ]; // tslint:disable-line:no-single-element-tuple-type
34+
type Shape1D = [ number ];
3535

3636
/**
3737
* Two-dimensional array.

buffer/docs/types/test.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
19+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2120

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

complex128/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

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

2121
import Complex128Array = require( './index' );
2222
import Complex128 = require( '@stdlib/complex/float64' );

complex64/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

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

2121
import Complex64Array = require( './index' );
2222
import Complex64 = require( '@stdlib/complex/float32' );

dataview/docs/types/test.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
19+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2120

2221
import ArrayBuffer = require( './../../../buffer' );
2322
import DataView = require( './index' );

docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

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

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

filled-by/docs/types/index.d.ts

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

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

float32/docs/types/test.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
19+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2120

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

float64/docs/types/test.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
19+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2120

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

int16/docs/types/test.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
19+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2120

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

int32/docs/types/test.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
19+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2120

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

int8/docs/types/test.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
19+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2120

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

next-dtype/docs/types/index.d.ts

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

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

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

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

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

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

pool/docs/types/test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
* limitations under the License.
1717
*/
1818

19-
/* tslint:disable:no-empty */
20-
/* tslint:disable:no-unused-expression */
19+
/* eslint-disable no-empty */
20+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2121

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

shared-buffer/docs/types/index.d.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,4 @@
2323
/**
2424
* 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.
2525
*/
26-
export = SharedArrayBuffer; // tslint:disable-line
27-
28-
// FIXME: need to address TSLint errors regarding ES version
26+
export = SharedArrayBuffer;

shared-buffer/docs/types/test.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
21-
// tslint:disable: no-unsafe-any
19+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2220

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

typed-complex/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
// TypeScript Version: 4.1
2020

21-
// tslint:disable:unified-signatures
21+
/* eslint-disable @typescript-eslint/unified-signatures */
2222

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

typed-real/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
// TypeScript Version: 4.1
2020

21-
// tslint:disable:unified-signatures
21+
/* eslint-disable @typescript-eslint/unified-signatures */
2222

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

typed/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
// TypeScript Version: 4.1
2020

21-
// tslint:disable:unified-signatures
21+
/* eslint-disable @typescript-eslint/unified-signatures */
2222

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

uint16/docs/types/test.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
19+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2120

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

uint32/docs/types/test.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
19+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2120

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

uint8/docs/types/test.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
19+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2120

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

uint8c/docs/types/test.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
19+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2120

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

0 commit comments

Comments
 (0)