Skip to content

Commit 710ba8a

Browse files
committed
build: replace tslint directive
1 parent a73f94f commit 710ba8a

File tree

46 files changed

+93
-93
lines changed
  • lib/node_modules/@stdlib/assert

Some content is hidden

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

46 files changed

+93
-93
lines changed

lib/node_modules/@stdlib/assert/is-boolean-array/docs/types/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import isBooleanArray = require( './index' );
3535

3636
// Attached to main export is a `primitives` method which returns a boolean...
3737
{
38-
// tslint:disable-next-line:no-construct
38+
// eslint-disable-next-line no-new-wrappers
3939
isBooleanArray.primitives( [ new Boolean( true ) ] ); // $ExpectType boolean
4040
isBooleanArray.primitives( [ true ] ); // $ExpectType boolean
4141
}
@@ -49,7 +49,7 @@ import isBooleanArray = require( './index' );
4949

5050
// Attached to main export is an `objects` method which returns a boolean...
5151
{
52-
// tslint:disable-next-line:no-construct
52+
// eslint-disable-next-line no-new-wrappers
5353
isBooleanArray.objects( [ new Boolean( true ) ] ); // $ExpectType boolean
5454
isBooleanArray.objects( [ true ] ); // $ExpectType boolean
5555
}

lib/node_modules/@stdlib/assert/is-boolean/docs/types/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import isBoolean = require( './index' );
3535

3636
// Attached to main export is an isPrimitive method which returns a boolean...
3737
{
38-
// tslint:disable-next-line:no-construct
38+
// eslint-disable-next-line no-new-wrappers
3939
isBoolean.isPrimitive( new Boolean( true ) ); // $ExpectType boolean
4040
isBoolean.isPrimitive( true ); // $ExpectType boolean
4141
}
@@ -49,7 +49,7 @@ import isBoolean = require( './index' );
4949

5050
// Attached to main export is an isPrimitive method which returns a boolean...
5151
{
52-
// tslint:disable-next-line:no-construct
52+
// eslint-disable-next-line no-new-wrappers
5353
isBoolean.isObject( new Boolean( true ) ); // $ExpectType boolean
5454
isBoolean.isObject( true ); // $ExpectType boolean
5555
}

lib/node_modules/@stdlib/assert/is-boxed-primitive/docs/types/test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ import isBoxedPrimitive = require( './index' );
2323

2424
// The function returns a boolean...
2525
{
26-
// tslint:disable-next-line:no-construct
26+
// eslint-disable-next-line no-new-wrappers
2727
isBoxedPrimitive( new String( 'beep' ) ); // $ExpectType boolean
2828
isBoxedPrimitive( 'beep' ); // $ExpectType boolean
2929
isBoxedPrimitive( [] ); // $ExpectType boolean
3030

31-
// tslint:disable-next-line:no-construct
31+
// eslint-disable-next-line no-new-wrappers
3232
isBoxedPrimitive( new Number( 3.21 ) ); // $ExpectType boolean
3333
}
3434

3535
// The compiler throws an error if the function is provided an unsupported number of arguments...
3636
{
3737
isBoxedPrimitive(); // $ExpectError
3838

39-
// tslint:disable-next-line:no-construct
39+
// eslint-disable-next-line no-new-wrappers
4040
isBoxedPrimitive( new String( 'beep' ), 123 ); // $ExpectError
4141
}

lib/node_modules/@stdlib/assert/is-composite/docs/types/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import isComposite = require( './index' );
3535

3636
// Attached to main export is an isPrimitive method which returns a boolean...
3737
{
38-
// tslint:disable-next-line:no-construct
38+
// eslint-disable-next-line no-new-wrappers
3939
isComposite.isPrimitive( new Number( 0.2 ) ); // $ExpectType boolean
4040
isComposite.isPrimitive( 0.2 ); // $ExpectType boolean
4141
}
@@ -49,7 +49,7 @@ import isComposite = require( './index' );
4949

5050
// Attached to main export is an isPrimitive method which returns a boolean...
5151
{
52-
// tslint:disable-next-line:no-construct
52+
// eslint-disable-next-line no-new-wrappers
5353
isComposite.isObject( new Number( 0.2 ) ); // $ExpectType boolean
5454
isComposite.isObject( 0.2 ); // $ExpectType boolean
5555
}

lib/node_modules/@stdlib/assert/is-cube-number/docs/types/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import isCubeNumber = require( './index' );
3535

3636
// Attached to main export is an isPrimitive method which returns a boolean...
3737
{
38-
// tslint:disable-next-line:no-construct
38+
// eslint-disable-next-line no-new-wrappers
3939
isCubeNumber.isPrimitive( new Number( 0.2 ) ); // $ExpectType boolean
4040
isCubeNumber.isPrimitive( 0.2 ); // $ExpectType boolean
4141
}
@@ -49,7 +49,7 @@ import isCubeNumber = require( './index' );
4949

5050
// Attached to main export is an isPrimitive method which returns a boolean...
5151
{
52-
// tslint:disable-next-line:no-construct
52+
// eslint-disable-next-line no-new-wrappers
5353
isCubeNumber.isObject( new Number( 0.2 ) ); // $ExpectType boolean
5454
isCubeNumber.isObject( 0.2 ); // $ExpectType boolean
5555
}

lib/node_modules/@stdlib/assert/is-empty-string/docs/types/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import isEmptyString = require( './index' );
3535

3636
// Attached to main export is an isPrimitive method which returns a boolean...
3737
{
38-
// tslint:disable-next-line:no-construct
38+
// eslint-disable-next-line no-new-wrappers
3939
isEmptyString.isPrimitive( new String( 'abc' ) ); // $ExpectType boolean
4040
isEmptyString.isPrimitive( '' ); // $ExpectType boolean
4141
}
@@ -49,7 +49,7 @@ import isEmptyString = require( './index' );
4949

5050
// Attached to main export is an isPrimitive method which returns a boolean...
5151
{
52-
// tslint:disable-next-line:no-construct
52+
// eslint-disable-next-line no-new-wrappers
5353
isEmptyString.isObject( new String( '' ) ); // $ExpectType boolean
5454
isEmptyString.isObject( '' ); // $ExpectType boolean
5555
}

lib/node_modules/@stdlib/assert/is-even/docs/types/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import isEven = require( './index' );
3535

3636
// Attached to main export is an isPrimitive method which returns a boolean...
3737
{
38-
// tslint:disable-next-line:no-construct
38+
// eslint-disable-next-line no-new-wrappers
3939
isEven.isPrimitive( new Number( 4 ) ); // $ExpectType boolean
4040
isEven.isPrimitive( 4 ); // $ExpectType boolean
4141
}
@@ -49,7 +49,7 @@ import isEven = require( './index' );
4949

5050
// Attached to main export is an isPrimitive method which returns a boolean...
5151
{
52-
// tslint:disable-next-line:no-construct
52+
// eslint-disable-next-line no-new-wrappers
5353
isEven.isObject( new Number( 4 ) ); // $ExpectType boolean
5454
isEven.isObject( 4 ); // $ExpectType boolean
5555
}

lib/node_modules/@stdlib/assert/is-finite-array/docs/types/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import isFiniteArray = require( './index' );
3636

3737
// Attached to main export is a `primitives` method which returns a boolean...
3838
{
39-
// tslint:disable-next-line:no-construct
39+
// eslint-disable-next-line no-new-wrappers
4040
isFiniteArray.primitives( [ new Number( 3 ) ] ); // $ExpectType boolean
4141
isFiniteArray.primitives( [ 3 ] ); // $ExpectType boolean
4242
}
@@ -49,7 +49,7 @@ import isFiniteArray = require( './index' );
4949

5050
// Attached to main export is an `objects` method which returns a boolean...
5151
{
52-
// tslint:disable-next-line:no-construct
52+
// eslint-disable-next-line no-new-wrappers
5353
isFiniteArray.objects( [ new Number( -2 ) ] ); // $ExpectType boolean
5454
isFiniteArray.objects( [ -2 ] ); // $ExpectType boolean
5555
}

lib/node_modules/@stdlib/assert/is-finite/docs/types/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import isFinite = require( './index' );
3535

3636
// Attached to main export is an isPrimitive method which returns a boolean...
3737
{
38-
// tslint:disable-next-line:no-construct
38+
// eslint-disable-next-line no-new-wrappers
3939
isFinite.isPrimitive( new Number( 4 ) ); // $ExpectType boolean
4040
isFinite.isPrimitive( 4 ); // $ExpectType boolean
4141
}
@@ -49,7 +49,7 @@ import isFinite = require( './index' );
4949

5050
// Attached to main export is an isPrimitive method which returns a boolean...
5151
{
52-
// tslint:disable-next-line:no-construct
52+
// eslint-disable-next-line no-new-wrappers
5353
isFinite.isObject( new Number( 4 ) ); // $ExpectType boolean
5454
isFinite.isObject( 4 ); // $ExpectType boolean
5555
}

lib/node_modules/@stdlib/assert/is-infinite/docs/types/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import isInfinite = require( './index' );
3535

3636
// Attached to main export is an isPrimitive method which returns a boolean...
3737
{
38-
// tslint:disable-next-line:no-construct
38+
// eslint-disable-next-line no-new-wrappers
3939
isInfinite.isPrimitive( new Number( 1 / 0 ) ); // $ExpectType boolean
4040
isInfinite.isPrimitive( 1 / 0 ); // $ExpectType boolean
4141
}
@@ -49,7 +49,7 @@ import isInfinite = require( './index' );
4949

5050
// Attached to main export is an isPrimitive method which returns a boolean...
5151
{
52-
// tslint:disable-next-line:no-construct
52+
// eslint-disable-next-line no-new-wrappers
5353
isInfinite.isObject( new Number( 1 / 0 ) ); // $ExpectType boolean
5454
isInfinite.isObject( 1 / 0 ); // $ExpectType boolean
5555
}

0 commit comments

Comments
 (0)