Skip to content

Commit b5471f7

Browse files
committed
Auto-generated commit
1 parent 1028f42 commit b5471f7

File tree

23 files changed

+29
-29
lines changed

23 files changed

+29
-29
lines changed

contains/docs/types/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import contains = require( './index' );
3030
contains( [ 1, 2, 3, 4, 5, 6 ], 2, 3 ); // $ExpectType boolean
3131
}
3232

33-
// The function does not compile if provided arguments having invalid types...
33+
// The compiler throws an error if the function is provided arguments having invalid types...
3434
{
3535
contains( true, 'd' ); // $ExpectError
3636
contains( false, 'd' ); // $ExpectError
@@ -44,7 +44,7 @@ import contains = require( './index' );
4444
contains( 'abd', 'a', ( x: number ): number => x ); // $ExpectError
4545
}
4646

47-
// The function does not compile if provided insufficient arguments...
47+
// The compiler throws an error if the function is provided insufficient arguments...
4848
{
4949
contains(); // $ExpectError
5050
contains( 'abc' ); // $ExpectError

has-utf16-surrogate-pair-at/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import hasUTF16SurrogatePairAt = require( './index' );
2727
hasUTF16SurrogatePairAt( '🌷', 1 ); // $ExpectType boolean
2828
}
2929

30-
// The function does not compile if provided incorrect arguments...
30+
// The compiler throws an error if the function is provided incorrect arguments...
3131
{
3232
hasUTF16SurrogatePairAt( false, 3 ); // $ExpectError
3333
hasUTF16SurrogatePairAt( {}, 3 ); // $ExpectError

instance-of/docs/types/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import instanceOf = require( './index' );
2727
instanceOf( {}, Object ); // $ExpectType boolean
2828
}
2929

30-
// The function does not compile if provided a second argument that is not a function...
30+
// The compiler throws an error if the function is provided a second argument that is not a function...
3131
{
3232
instanceOf( [], [] ); // $ExpectError
3333
instanceOf( [], {} ); // $ExpectError
@@ -38,7 +38,7 @@ import instanceOf = require( './index' );
3838
instanceOf( [], false ); // $ExpectError
3939
}
4040

41-
// The function does not compile if provided insufficient arguments...
41+
// The compiler throws an error if the function is provided insufficient arguments...
4242
{
4343
instanceOf(); // $ExpectError
4444
instanceOf( [] ); // $ExpectError

is-between-array/docs/types/test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import isBetweenArray = require( './index' );
2929
isBetweenArray( arr, 3.14, 4.0, 'open' ); // $ExpectType boolean
3030
}
3131

32-
// The function does not compile if provided a fourth argument that is not a recognized string...
32+
// The compiler throws an error if the function is provided a fourth argument that is not a recognized string...
3333
{
3434
const arr = [ 3.0, 3.14, 4.0 ];
3535
isBetweenArray( arr, 3.14, 4.0, [] ); // $ExpectError
@@ -41,7 +41,7 @@ import isBetweenArray = require( './index' );
4141
isBetweenArray( arr, 3.14, 4.0, false ); // $ExpectError
4242
}
4343

44-
// The function does not compile if provided a fifth argument that is not a recognized string...
44+
// The compiler throws an error if the function is provided a fifth argument that is not a recognized string...
4545
{
4646
const arr = [ 3.0, 3.14, 4.0 ];
4747
isBetweenArray( arr, 3.14, 4.0, 'open', [] ); // $ExpectError
@@ -53,7 +53,7 @@ import isBetweenArray = require( './index' );
5353
isBetweenArray( arr, 3.14, 4.0, 'open', false ); // $ExpectError
5454
}
5555

56-
// The function does not compile if provided insufficient arguments...
56+
// The compiler throws an error if the function is provided insufficient arguments...
5757
{
5858
const arr = [ 3.0, 3.14, 4.0 ];
5959
isBetweenArray(); // $ExpectError

is-between/docs/types/test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import isBetween = require( './index' );
2828
isBetween( 3.14, 3.14, 4.0, 'open' ); // $ExpectType boolean
2929
}
3030

31-
// The function does not compile if provided a fourth argument that is not a recognized string...
31+
// The compiler throws an error if the function is provided a fourth argument that is not a recognized string...
3232
{
3333
isBetween( 3.14, 3.14, 4.0, [] ); // $ExpectError
3434
isBetween( 3.14, 3.14, 4.0, {} ); // $ExpectError
@@ -39,7 +39,7 @@ import isBetween = require( './index' );
3939
isBetween( 3.14, 3.14, 4.0, false ); // $ExpectError
4040
}
4141

42-
// The function does not compile if provided a fifth argument that is not a recognized string...
42+
// The compiler throws an error if the function is provided a fifth argument that is not a recognized string...
4343
{
4444
isBetween( 3.14, 3.14, 4.0, 'open', [] ); // $ExpectError
4545
isBetween( 3.14, 3.14, 4.0, 'open', {} ); // $ExpectError
@@ -50,7 +50,7 @@ import isBetween = require( './index' );
5050
isBetween( 3.14, 3.14, 4.0, 'open', false ); // $ExpectError
5151
}
5252

53-
// The function does not compile if provided insufficient arguments...
53+
// The compiler throws an error if the function is provided insufficient arguments...
5454
{
5555
isBetween(); // $ExpectError
5656
isBetween( 1 ); // $ExpectError

is-error/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import isError = require( './index' );
2727
isError( {} ); // $ExpectType boolean
2828
}
2929

30-
// The function does not compile if provided insufficient arguments...
30+
// The compiler throws an error if the function is provided insufficient arguments...
3131
{
3232
isError(); // $ExpectError
3333
isError( new Error( 'beep' ), 123 ); // $ExpectError

is-eval-error/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import isEvalError = require( './index' );
2727
isEvalError( {} ); // $ExpectType boolean
2828
}
2929

30-
// The function does not compile if provided insufficient arguments...
30+
// The compiler throws an error if the function is provided insufficient arguments...
3131
{
3232
isEvalError(); // $ExpectError
3333
isEvalError( new EvalError( 'beep' ), 123 ); // $ExpectError

is-float32matrix-like/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import isFloat32MatrixLike = require( './index' );
2626
isFloat32MatrixLike( [] ); // $ExpectType boolean
2727
}
2828

29-
// The function does not compile if provided an unsupported number of arguments...
29+
// The compiler throws an error if the function is provided an unsupported number of arguments...
3030
{
3131
isFloat32MatrixLike(); // $ExpectError
3232
isFloat32MatrixLike( 'abc', 123 ); // $ExpectError

is-float32ndarray-like/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import isFloat32ndarrayLike = require( './index' );
2626
isFloat32ndarrayLike( [] ); // $ExpectType boolean
2727
}
2828

29-
// The function does not compile if provided an unsupported number of arguments...
29+
// The compiler throws an error if the function is provided an unsupported number of arguments...
3030
{
3131
isFloat32ndarrayLike(); // $ExpectError
3232
isFloat32ndarrayLike( 'abc', 123 ); // $ExpectError

is-float32vector-like/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import isFloat32VectorLike = require( './index' );
2626
isFloat32VectorLike( [] ); // $ExpectType boolean
2727
}
2828

29-
// The function does not compile if provided an unsupported number of arguments...
29+
// The compiler throws an error if the function is provided an unsupported number of arguments...
3030
{
3131
isFloat32VectorLike(); // $ExpectError
3232
isFloat32VectorLike( 'abc', 123 ); // $ExpectError

is-float64matrix-like/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import isFloat64MatrixLike = require( './index' );
2626
isFloat64MatrixLike( [] ); // $ExpectType boolean
2727
}
2828

29-
// The function does not compile if provided an unsupported number of arguments...
29+
// The compiler throws an error if the function is provided an unsupported number of arguments...
3030
{
3131
isFloat64MatrixLike(); // $ExpectError
3232
isFloat64MatrixLike( 'abc', 123 ); // $ExpectError

is-float64ndarray-like/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import isFloat64ndarrayLike = require( './index' );
2626
isFloat64ndarrayLike( [] ); // $ExpectType boolean
2727
}
2828

29-
// The function does not compile if provided an unsupported number of arguments...
29+
// The compiler throws an error if the function is provided an unsupported number of arguments...
3030
{
3131
isFloat64ndarrayLike(); // $ExpectError
3232
isFloat64ndarrayLike( 'abc', 123 ); // $ExpectError

is-float64vector-like/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import isFloat64VectorLike = require( './index' );
2626
isFloat64VectorLike( [] ); // $ExpectType boolean
2727
}
2828

29-
// The function does not compile if provided an unsupported number of arguments...
29+
// The compiler throws an error if the function is provided an unsupported number of arguments...
3030
{
3131
isFloat64VectorLike(); // $ExpectError
3232
isFloat64VectorLike( 'abc', 123 ); // $ExpectError

is-native-function/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ bench( pkg, function benchmark( b ) {
4545
void 0,
4646
[],
4747
{},
48-
new RegExp( '.*' ),
48+
new RegExp( '.*' ), // eslint-disable-line prefer-regex-literals
4949
new Date(),
5050
function noop() {},
5151
Math.sqrt, // eslint-disable-line stdlib/no-builtin-math

is-prototype-of/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ bench( pkg, function benchmark( b ) {
3939

4040
vals = [
4141
new Date(),
42-
new RegExp( '.*' ),
42+
new RegExp( '.*' ), // eslint-disable-line prefer-regex-literals
4343
new Array( 10 ),
4444
new Foo()
4545
];

is-prototype-of/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import isPrototypeOf = require( './index' );
2626
isPrototypeOf( 3.12, Number.prototype ); // $ExpectType boolean
2727
}
2828

29-
// The function does not compile if provided insufficient arguments...
29+
// The compiler throws an error if the function is provided insufficient arguments...
3030
{
3131
isPrototypeOf(); // $ExpectError
3232
isPrototypeOf( 3.12 ); // $ExpectError

is-range-error/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import isRangeError = require( './index' );
2727
isRangeError( {} ); // $ExpectType boolean
2828
}
2929

30-
// The function does not compile if provided insufficient arguments...
30+
// The compiler throws an error if the function is provided insufficient arguments...
3131
{
3232
isRangeError(); // $ExpectError
3333
isRangeError( new RangeError( 'beep' ), 123 ); // $ExpectError

is-reference-error/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import isReferenceError = require( './index' );
2727
isReferenceError( {} ); // $ExpectType boolean
2828
}
2929

30-
// The function does not compile if provided insufficient arguments...
30+
// The compiler throws an error if the function is provided insufficient arguments...
3131
{
3232
isReferenceError(); // $ExpectError
3333
isReferenceError( new ReferenceError( 'beep' ), 123 ); // $ExpectError

is-strict-equal/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ bench( pkg, function benchmark( b ) {
4848
void 0,
4949
[],
5050
{},
51-
new RegExp( '.*' ),
51+
new RegExp( '.*' ), // eslint-disable-line prefer-regex-literals
5252
new Date(),
5353
function noop() {}
5454
];

is-truthy/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ bench( pkg, function benchmark( b ) {
4747
void 0,
4848
[],
4949
{},
50-
new RegExp( '.*' ),
50+
new RegExp( '.*' ), // eslint-disable-line prefer-regex-literals
5151
new Date(),
5252
function noop() {}
5353
];

is-unity-probability-array/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import isUnityProbabilityArray = require( './index' );
2727
isUnityProbabilityArray( [ 2, 3 ] ); // $ExpectType boolean
2828
}
2929

30-
// The function does not compile if provided an unsupported number of arguments...
30+
// The compiler throws an error if the function is provided an unsupported number of arguments...
3131
{
3232
isUnityProbabilityArray(); // $ExpectError
3333
isUnityProbabilityArray( [ 0.25, 0.5, 0.25 ], 123 ); // $ExpectError

is-uri-error/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import isURIError = require( './index' );
2727
isURIError( {} ); // $ExpectType boolean
2828
}
2929

30-
// The function does not compile if provided insufficient arguments...
30+
// The compiler throws an error if the function is provided insufficient arguments...
3131
{
3232
isURIError(); // $ExpectError
3333
isURIError( new URIError( 'beep' ), 123 ); // $ExpectError

is-vector-like/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import isVectorLike = require( './index' );
2626
isVectorLike( [] ); // $ExpectType boolean
2727
}
2828

29-
// The function does not compile if provided an unsupported number of arguments...
29+
// The compiler throws an error if the function is provided an unsupported number of arguments...
3030
{
3131
isVectorLike(); // $ExpectError
3232
isVectorLike( 'abc', 123 ); // $ExpectError

0 commit comments

Comments
 (0)