Skip to content

Commit

Permalink
Follow up changes to es5.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
navya9singh committed Jul 25, 2022
1 parent 3cade4c commit 04df1e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/es5.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ interface String {
/**
* Replaces text in a string, using a regular expression or search string.
* @param searchValue A string to search for.
* @param replaceValue A string containing the text to replace for every successful match of searchValue in this string.
* @param replaceValue A string containing the text to replace. When the searchvalue is a string, only the first match is replaced. If the searchValue is a Regexp, all matches are replaced if the g flag is set. Otherwise only the first one is.
*/
replace(searchValue: string | RegExp, replaceValue: string): string;

Expand Down

0 comments on commit 04df1e1

Please sign in to comment.