Skip to content

Commit

Permalink
Merge pull request #17 from pactumjs/15-regex-requires-2-parameters
Browse files Browse the repository at this point in the history
fix: regex typings
  • Loading branch information
ASaiAnudeep authored Sep 3, 2022
2 parents 105fc14 + 6bd5999 commit 2aa2062
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ export function string(value?: string): object;
/**
* regex matching
*/
export function regex(value: any, matcher: RegExp): object;
export function regex(value: any, matcher: string): object;
export function regex(value: any, matcher?: RegExp | string): object;

/**
* partial regex matching
Expand Down

0 comments on commit 2aa2062

Please sign in to comment.