diff options
| author | Kitson Kelly <me@kitsonkelly.com> | 2021-08-27 10:12:59 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-27 10:12:59 +1000 |
| commit | 935133f53af2b0efab5d22effff1239dc0e36147 (patch) | |
| tree | f1cd283e50618e0cce4f70ff59a1e204856a592b /cli/dts/lib.es2015.symbol.wellknown.d.ts | |
| parent | b9a965c607966efff91118e9a6f604c8f48ba88e (diff) | |
feat(cli): Update to TypeScript 4.4 (#11678)
Diffstat (limited to 'cli/dts/lib.es2015.symbol.wellknown.d.ts')
| -rw-r--r-- | cli/dts/lib.es2015.symbol.wellknown.d.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/dts/lib.es2015.symbol.wellknown.d.ts b/cli/dts/lib.es2015.symbol.wellknown.d.ts index b98e2f08f..b1e326436 100644 --- a/cli/dts/lib.es2015.symbol.wellknown.d.ts +++ b/cli/dts/lib.es2015.symbol.wellknown.d.ts @@ -239,9 +239,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; |
