mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 21:36:50 -05:00
IntelliSense doc string.replace typo (#41385)
* Fix IntelliSense doc string.replace typo
* Update IntelliSense doc string.replace
* Update string.replace doc text
* Revert "Fix IntelliSense doc string.replace typo"
This reverts commit 4220ec8a94.
* Reworded string.replace doc text
* Fix doc string.replace text
This commit is contained in:
6
src/lib/es2015.symbol.wellknown.d.ts
vendored
6
src/lib/es2015.symbol.wellknown.d.ts
vendored
@@ -219,9 +219,9 @@ interface String {
|
||||
match(matcher: { [Symbol.match](string: string): RegExpMatchArray | null; }): RegExpMatchArray | null;
|
||||
|
||||
/**
|
||||
* Replaces text in a string, using an object that supports replacement within a string.
|
||||
* @param searchValue A object can search for and replace matches within a string.
|
||||
* @param replaceValue A string containing the text to replace for every successful match of searchValue in this string.
|
||||
* Replaces first match with string or all matches with RegExp.
|
||||
* @param searchValue A string or RegExp search value.
|
||||
* @param replaceValue A string containing the text to replace for match.
|
||||
*/
|
||||
replace(searchValue: { [Symbol.replace](string: string, replaceValue: string): string; }, replaceValue: string): string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user