Skip to content

Commit

Permalink
Update strings.d.ts
Browse files Browse the repository at this point in the history
 Add a type of RegExp for replace
  • Loading branch information
woosuk288 authored Mar 29, 2021
1 parent 3793a5d commit 12e0a77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion danfojs-node/types/core/strings.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class Str {
* @params {replaceValue: String | Character} string to replace with
* @return {array}
*/
replace(searchValue?: string, replaceValue?: string): any[];
replace(searchValue?: string | RegExp, replaceValue?: string): any[];
/**
* Returns a new string with a specified number of copies of an existing string
* @params {num: Integer} Number of times to repeat
Expand Down

0 comments on commit 12e0a77

Please sign in to comment.