Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/**
* Interface defining `isNegativeFinite` with methods for testing for primitives and objects, respectively.
*/
interface isNegativeFinite {
interface IsNegativeFinite {
/**
* Tests if a value is a finite negative number.
*
Expand Down Expand Up @@ -52,7 +52,7 @@
* var bool = isNegativeFinite( -1.0/0.0 );
* // returns false
*/
( value: number | Number ): boolean;
( value: any ): boolean;

Check warning on line 55 in lib/node_modules/@stdlib/assert/is-negative-finite/docs/types/index.d.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected any. Specify a different type

/**
* Tests if a value is a number primitive having a finite negative value.
Expand All @@ -68,10 +68,10 @@
* var bool = isNegativeFinite.isPrimitive( new Number( -3.0 ) );
* // returns false
*/
isPrimitive( value: number | Number ): boolean;
isPrimitive( value: any ): boolean;

Check warning on line 71 in lib/node_modules/@stdlib/assert/is-negative-finite/docs/types/index.d.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected any. Specify a different type

/**
* Tests if a value is a number object having a negative value.
* Tests if a value is a number object having a finite negative value.
*
* @param value - value to test
* @returns boolean indicating if a value is a number object having a finite negative value
Expand All @@ -84,11 +84,11 @@
* var bool = isNegativeFinite.isObject( new Number( -3.0 ) );
* // returns true
*/
isObject( value: number | Number ): boolean;
isObject( value: any ): boolean;

Check warning on line 87 in lib/node_modules/@stdlib/assert/is-negative-finite/docs/types/index.d.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected any. Specify a different type
}

/**
* Tests if a value is a negative number.
* Tests if a value is a finite negative number.
*
* @param value - value to test
* @returns boolean indicating whether value is a finite negative number
Expand Down Expand Up @@ -129,7 +129,7 @@
* var bool = isNegativeFinite.isObject( new Number( -1.0/0.0 ) );
* // returns false
*/
declare var isNegativeFinite: isNegativeFinite;
declare var isNegativeFinite: IsNegativeFinite;


// EXPORTS //
Expand Down