Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaslanjaka committed May 17, 2023
2 parents ad0dd83 + e0719fb commit 9ddb7e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pattern.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import escapeRegExp from './escape_regexp';

const rParam = /([:*])([\w?]*)?/g;

type PatternMatchResult = RegExpMatchArray | Record<string, unknown>;
type PatternMatchResult = boolean | RegExpMatchArray | Record<string, unknown>;

class Pattern {
match: (str: string) => PatternMatchResult;
Expand Down

0 comments on commit 9ddb7e2

Please sign in to comment.