Skip to content

Commit 8e71f42

Browse files
committedSep 26, 2022
Fixing pr comments
1 parent abc58bd commit 8e71f42

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎src/lib/es5.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ interface String {
424424
/**
425425
* Replaces text in a string, using a regular expression or search string.
426426
* @param searchValue A string or regular expression to search for.
427-
* @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.
427+
* @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.
428428
*/
429429
replace(searchValue: string | RegExp, replaceValue: string): string;
430430

‎tests/baselines/reference/completionsStringMethods.baseline

+3-3
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,7 @@
10781078
"target": {
10791079
"fileName": "lib.d.ts",
10801080
"textSpan": {
1081-
"start": 18875,
1081+
"start": 18880,
10821082
"length": 28
10831083
}
10841084
}
@@ -1088,7 +1088,7 @@
10881088
"kind": "link"
10891089
},
10901090
{
1091-
"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 ",
1091+
"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 ",
10921092
"kind": "text"
10931093
},
10941094
{
@@ -1101,7 +1101,7 @@
11011101
"target": {
11021102
"fileName": "lib.d.ts",
11031103
"textSpan": {
1104-
"start": 18875,
1104+
"start": 18880,
11051105
"length": 28
11061106
}
11071107
}

0 commit comments

Comments
 (0)
Please sign in to comment.