Skip to content
Merged
Show file tree
Hide file tree
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 `isWellFormedString` with methods for testing for primitives and objects, respectively.
*/
interface isWellFormedString {
interface IsWellFormedString {
/**
* Tests if a string is well-formed.
*
Expand Down Expand Up @@ -56,7 +56,7 @@
* var bool = isWellFormedString( null );
* // returns false
*/
( str: any ): boolean;

Check warning on line 59 in lib/node_modules/@stdlib/assert/is-well-formed-string/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 string is a well-formed string primitive.
Expand All @@ -72,7 +72,7 @@
* var bool = isWellFormedString.isPrimitive( new String( '' ) );
* // returns false
*/
isPrimitive( str: any ): boolean;

Check warning on line 75 in lib/node_modules/@stdlib/assert/is-well-formed-string/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 string is a well-formed string object.
Expand All @@ -88,7 +88,7 @@
* var bool = isWellFormedString.isObject( new String( '' ) );
* // returns true
*/
isObject( str: any ): boolean;

Check warning on line 91 in lib/node_modules/@stdlib/assert/is-well-formed-string/docs/types/index.d.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected any. Specify a different type
}

/**
Expand Down Expand Up @@ -125,7 +125,7 @@
* var bool = isWellFormedString( null );
* // returns false
*/
declare var isWellFormedString: isWellFormedString;
declare var isWellFormedString: IsWellFormedString;


// EXPORTS //
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ declare function flattenBy<T = unknown, U extends genericndarray<T> = genericnda
* var y = flattenBy( x, opts, scale );
* // returns <ndarray>[ 2.0, 4.0, 6.0, 8.0, 10.0, 12.0 ]
*/
declare function flattenBy<T = unknown, U extends typedndarray<T> | genericndarray<T> = typedndarray<T>, V = unknown, W extends keyof DataTypeMap<T> = 'generic', ThisArg = unknown>( x: U, options: Options<W>, fcn: Callback<T, U, V, ThisArg>, thisArg?: ThisParameterType<Callback<T, U, V, ThisArg>> ): DataTypeMap<V>[W];
declare function flattenBy<T = unknown, U extends typedndarray<T> = typedndarray<T>, V = unknown, W extends keyof DataTypeMap<T> = 'generic', ThisArg = unknown>( x: U, options: Options<W>, fcn: Callback<T, U, V, ThisArg>, thisArg?: ThisParameterType<Callback<T, U, V, ThisArg>> ): DataTypeMap<V>[W];


// EXPORTS //
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ declare function flattenFromBy<T = unknown, U extends genericndarray<T> = generi
* var y = flattenFromBy( x, 1, opts, scale );
* // returns <ndarray>[ [ 2.0, 4.0 ], [ 6.0, 8.0 ], [ 10.0, 12.0 ] ]
*/
declare function flattenFromBy<T = unknown, U extends typedndarray<T> | genericndarray<T> = typedndarray<T>, V = unknown, W extends keyof DataTypeMap<T> = 'generic', ThisArg = unknown>( x: U, dim: number, options: Options<W>, fcn: Callback<T, U, V, ThisArg>, thisArg?: ThisParameterType<Callback<T, U, V, ThisArg>> ): DataTypeMap<V>[W];
declare function flattenFromBy<T = unknown, U extends typedndarray<T> = typedndarray<T>, V = unknown, W extends keyof DataTypeMap<T> = 'generic', ThisArg = unknown>( x: U, dim: number, options: Options<W>, fcn: Callback<T, U, V, ThisArg>, thisArg?: ThisParameterType<Callback<T, U, V, ThisArg>> ): DataTypeMap<V>[W];


// EXPORTS //
Expand Down
Loading