mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-16 07:13:45 -05:00
Fix IntelliSense doc string.replace typo
This commit is contained in:
5
lib/lib.es2015.symbol.wellknown.d.ts
vendored
5
lib/lib.es2015.symbol.wellknown.d.ts
vendored
@@ -236,7 +236,10 @@ interface String {
|
||||
/**
|
||||
* 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.
|
||||
* @param replaceValue A string containing the text to replace for successful
|
||||
* match of searchValue in this string. You can use regex g flag i.e.
|
||||
* str.replace(/replace_word/g, 'replace_me') to replace all values and gi
|
||||
* flag to replace all case-insensitive values.
|
||||
*/
|
||||
replace(searchValue: { [Symbol.replace](string: string, replaceValue: string): string; }, replaceValue: string): string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user