mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-19 10:41:56 -05:00
Follow up changes to es5.d.ts
This commit is contained in:
2
src/lib/es5.d.ts
vendored
2
src/lib/es5.d.ts
vendored
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user