mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00: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:
@@ -55,11 +55,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