mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 08:11:30 -06:00
Follow up changes to es5.d.ts
This commit is contained in:
parent
3cade4ca24
commit
04df1e18d9
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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user