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
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/regexp/dirname/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ var isPlatform = contains( PLATFORMS );
function reDirname( platform ) {
if ( arguments.length > 0 ) {
if ( !isPlatform( platform ) ) {
throw new Error( format( 'invalid argument. Must be one of the following: "%s". Value: `%s`.', PLATFORMS.join( '", "' ), platform ) );
throw new Error( format( 'invalid argument. Must be one of the following: "%s". Value: `%s`.', PLATFORMS.join( '", "' ), platform ) );
}
}
if ( platform === 'win32' || IS_WINDOWS ) {
Expand Down
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/regexp/regexp/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/**
* Interface for a regular expression to parse a regular expression string.
*/
interface ReNativeFunction {
interface ReRegExp {
/**
* Returns a regular expression to parse a regular expression string.
*
Expand Down Expand Up @@ -66,7 +66,7 @@ interface ReNativeFunction {
* var bool = reRegExp.REGEXP.test( '/^beep$/' );
* // returns true
*/
declare var reRegExp: ReNativeFunction;
declare var reRegExp: ReRegExp;


// EXPORTS //
Expand Down