mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Fixing pr comments
This commit is contained in:
Vendored
+1
-1
@@ -424,7 +424,7 @@ interface String {
|
||||
/**
|
||||
* Replaces text in a string, using a regular expression or search string.
|
||||
* @param searchValue A string or regular expression to search for.
|
||||
* @param replaceValue A string containing the text to replace. When the {@linkcode searchValue} is a `RegExp`, all matches are replaced if the `g` flag is set (or only those matches at the beginning, if the `y` flag if present). Otherwise, only the first match of {@linkcode searchValue} is replaced.
|
||||
* @param replaceValue A string containing the text to replace. When the {@linkcode searchValue} is a `RegExp`, all matches are replaced if the `g` flag is set (or only those matches at the beginning, if the `y` flag is also present). Otherwise, only the first match of {@linkcode searchValue} is replaced.
|
||||
*/
|
||||
replace(searchValue: string | RegExp, replaceValue: string): string;
|
||||
|
||||
|
||||
@@ -1078,7 +1078,7 @@
|
||||
"target": {
|
||||
"fileName": "lib.d.ts",
|
||||
"textSpan": {
|
||||
"start": 18875,
|
||||
"start": 18880,
|
||||
"length": 28
|
||||
}
|
||||
}
|
||||
@@ -1088,7 +1088,7 @@
|
||||
"kind": "link"
|
||||
},
|
||||
{
|
||||
"text": " is a `RegExp`, all matches are replaced if the `g` flag is set (or only those matches at the beginning, if the `y` flag if present). Otherwise, only the first match of ",
|
||||
"text": " is a `RegExp`, all matches are replaced if the `g` flag is set (or only those matches at the beginning, if the `y` flag is also present). Otherwise, only the first match of ",
|
||||
"kind": "text"
|
||||
},
|
||||
{
|
||||
@@ -1101,7 +1101,7 @@
|
||||
"target": {
|
||||
"fileName": "lib.d.ts",
|
||||
"textSpan": {
|
||||
"start": 18875,
|
||||
"start": 18880,
|
||||
"length": 28
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user