Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
Harris-Miller committed Apr 2, 2024
1 parent 4391fac commit 5f341c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/replace.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function replace(__: Placeholder, replacement: string | ((match: string,
export function replace(pattern: RegExp | string, replacement: string | ((match: string, ...args: readonly any[]) => string)): (str: string) => string;

// replace(__, __, str)
export function replace(__: Placeholder, __: Placeholder, str: string): {
export function replace(__: Placeholder, __2: Placeholder, str: string): {
// replace(__, __, str)(pattern)(replacement)
(pattern: RegExp | string): (replacement: string | ((match: string, ...args: readonly any[]) => string)) => string;
// replace(__, __, str)(__, replacement)(pattern)
Expand Down

0 comments on commit 5f341c1

Please sign in to comment.