-
Notifications
You must be signed in to change notification settings - Fork 13k
IntelliSense doc string.replace typo #41385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IntelliSense doc string.replace typo #41385
Conversation
It looks like you've sent a pull request to update our 'lib' files. These files aren't meant to be edited by hand, as they consist of last-known good states of the compiler and are generated from 'src'. Unless this is necessary, consider closing the pull request and sending a separate PR to update 'src'. |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments on wording. Also:
- Still need to revert lib change.
- The linter is complaining about formatting =(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kinda surprised this doesn't break baselines, but it looks good to me
@orta I think this change would only show up in a quickinfo baseline that explicitly tests |
* Fix IntelliSense doc string.replace typo * Update IntelliSense doc string.replace * Update string.replace doc text * Revert "Fix IntelliSense doc string.replace typo" This reverts commit 4220ec8. * Reworded string.replace doc text * Fix doc string.replace text
* Fix IntelliSense doc string.replace typo * Update IntelliSense doc string.replace * Update string.replace doc text * Revert "Fix IntelliSense doc string.replace typo" This reverts commit 4220ec8. * Reworded string.replace doc text * Fix doc string.replace text
* Fix IntelliSense doc string.replace typo * Update IntelliSense doc string.replace * Update string.replace doc text * Revert "Fix IntelliSense doc string.replace typo" This reverts commit 4220ec8. * Reworded string.replace doc text * Fix doc string.replace text
Fixes #41361
As per https://www.w3schools.com/jsref/jsref_replace.asp
replace only replaces first value unless flags are used.