Skip to content

Commit

Permalink
🤖 Merge PR DefinitelyTyped#69242 [@types/micromatch] fix: match metho…
Browse files Browse the repository at this point in the history
…d parameter type by @AcherTT

Co-authored-by: yan <hexi@dtstack.com>
  • Loading branch information
AcherTT and yan authored Apr 13, 2024
1 parent 44c0d65 commit 168988c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/micromatch/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ interface Micromatch {
* //=> ['a.a', 'a.aa']
* ```
*/
match(list: readonly string[], pattern: string, options?: micromatch.Options): string[];
match(list: readonly string[], pattern: string | readonly string[], options?: micromatch.Options): string[];

/**
* Returns true if the specified `string` matches the given glob `pattern`.
Expand Down

0 comments on commit 168988c

Please sign in to comment.