Skip to content

Commit 862d005

Browse files
committed
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: #33777 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 85dbd17 commit 862d005

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

doc/api/globals.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,13 @@ added: REPLACEME
5555

5656
* Type: {AbortSignal}
5757

58-
### Class: `AbortSignal extends EventTarget`
58+
### Class: `AbortSignal`
5959
<!-- YAML
6060
added: REPLACEME
6161
-->
6262

63+
* Extends: {EventTarget}
64+
6365
The `AbortSignal` is used to notify observers when the
6466
`abortController.abort()` method is called.
6567

tools/doc/type-parser.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ const customTypesMap = {
2727
'this': `${jsDocPrefix}Reference/Operators/this`,
2828

2929
'AbortController': 'globals.html#globals_class_abortcontroller',
30-
'AbortSignal':
31-
'globals.html#globals_class_abortsignal_extends_eventtarget',
30+
'AbortSignal': 'globals.html#globals_class_abortsignal',
3231

3332
'ArrayBufferView':
3433
'https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView',

0 commit comments

Comments
 (0)