mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
doc: make globals Extends usage consistent
The docs use `* Extends: {type}` to define inheritance. This
commit updates the globals documentation to be consistent.
PR-URL: https://github.com/nodejs/node/pull/33777
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
2f7afd11a4
commit
d9d7ebd0b4
2 files changed
+4
-3
No files matched your search
+3
-1
@@ -57,11 +57,13 @@ added: REPLACEME
|
||||
|
||||
* Type: {AbortSignal}
|
||||
|
||||
### Class: `AbortSignal extends EventTarget`
|
||||
### Class: `AbortSignal`
|
||||
<!-- YAML
|
||||
added: REPLACEME
|
||||
-->
|
||||
|
||||
* Extends: {EventTarget}
|
||||
|
||||
The `AbortSignal` is used to notify observers when the
|
||||
`abortController.abort()` method is called.
|
||||
|
||||
|
||||
@@ -27,8 +27,7 @@ const customTypesMap = {
|
||||
'this': `${jsDocPrefix}Reference/Operators/this`,
|
||||
|
||||
'AbortController': 'globals.html#globals_class_abortcontroller',
|
||||
'AbortSignal':
|
||||
'globals.html#globals_class_abortsignal_extends_eventtarget',
|
||||
'AbortSignal': 'globals.html#globals_class_abortsignal',
|
||||
|
||||
'ArrayBufferView':
|
||||
'https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView',
|
||||
|
||||
Reference in new issue
Block a user