Skip to content

Commit d9d7ebd

Browse files
cjihrigtargos
authored andcommitted
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 <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 2f7afd1 commit d9d7ebd

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
@@ -57,11 +57,13 @@ added: REPLACEME
5757

5858
* Type: {AbortSignal}
5959

60-
### Class: `AbortSignal extends EventTarget`
60+
### Class: `AbortSignal`
6161
<!-- YAML
6262
added: REPLACEME
6363
-->
6464

65+
* Extends: {EventTarget}
66+
6567
The `AbortSignal` is used to notify observers when the
6668
`abortController.abort()` method is called.
6769

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)