-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
doc: make Extends usage consistent #33777
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
Conversation
The docs use `* Extends: {type}` to define inheritance. This commit updates the events documentation to be consistent. PR-URL: nodejs#33777 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
The docs use `* Extends: {type}` to define inheritance. This commit updates the perf_hooks documentation to be consistent. PR-URL: nodejs#33777 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
The docs use `* Extends: {type}` to define inheritance. This commit updates the globals documentation to be consistent. PR-URL: nodejs#33777 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Landed in 4ba9080...862d005. Thanks for the reviews! |
@cjihrig would you mind manually backporting this to |
@@ -1277,11 +1277,13 @@ added: REPLACEME | |||
|
|||
Removes the `listener` from the list of handlers for event `type`. | |||
|
|||
### Class: `NodeEventTarget extends EventTarget` | |||
### Class: `NodeEventTarget` |
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.
The addition of the * Extends:
line below is good, but to be honest I'd much prefer if we started adding the extends ...
in the header line also as a best practice to make the extension more visible.
The docs use `* Extends: {type}` to define inheritance. This commit updates the events documentation to be consistent. PR-URL: #33777 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
The docs use `* Extends: {type}` to define inheritance. This commit updates the perf_hooks documentation to be consistent. PR-URL: #33777 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
The docs use `* Extends: {type}` to define inheritance. This commit updates the globals documentation to be consistent. PR-URL: #33777 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes