TypeScript
TypeScript copied to clipboard
Fix(47969): String.prototypr.replace docs fix
Fixes https://github.com/microsoft/TypeScript/issues/47969
This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise.
@sandersn Shouldn't this be Author: Team?
Shouldn't this be Author: Team?
edit: https://github.com/microsoft/TypeScript/blob/main/.github/pr_owners.txt to update this (comes from here)
Shouldn't this be Author: Team?
edit: https://github.com/microsoft/TypeScript/blob/main/.github/pr_owners.txt to update this (comes from here)
Done. Thanks, @orta!
Looks pretty good but I'd like to address @Josh-Cena 's point about the sticky flag before merging.
@sandersn I can hardly understand that how come the documentation of only 2 out of 4 overloads are updated.
And replaceAll is not touched at all.
Anyway I have updated them in my PR (#50452).