Skip to content

Commit

Permalink
Fixed: Param naming
Browse files Browse the repository at this point in the history
  • Loading branch information
dhershman1 committed Oct 13, 2024
1 parent 19c4586 commit b28807e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions types/index.d.cts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ declare namespace phoneFns {
/**
* Validates a phone number based on a custom format provided
*/
isValidWithFormat(layout: string, phone: string): boolean;
isValidWithFormat(layout: string): (phone: string) => boolean;
isValidWithFormat(format: string, phone: string): boolean;
isValidWithFormat(format: string): (phone: string) => boolean;

/**
* Strips all of the special characters from the given string but leaves extension and country code characters in place
Expand Down
4 changes: 2 additions & 2 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ declare namespace phoneFns {
/**
* Validates a phone number based on a custom format provided
*/
isValidWithFormat(layout: string, phone: string): boolean;
isValidWithFormat(layout: string): (phone: string) => boolean;
isValidWithFormat(format: string, phone: string): boolean;
isValidWithFormat(format: string): (phone: string) => boolean;

/**
* Strips all of the special characters from the given string but leaves extension and country code characters in place
Expand Down

0 comments on commit b28807e

Please sign in to comment.