Follow up changes to es5.d.ts

This commit is contained in:
navya9singh 2022-07-25 12:25:45 -07:00
parent 3cade4ca24
commit 04df1e18d9

2
src/lib/es5.d.ts vendored
View File

@ -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;