Commit a21459e
doc: update output of example in AbortController
Actual output of example in AbortController is mismatched.
Plus, make `reason` parameter as optional in JSDoc.
Refs: https://github.com/nodejs/node/blob/main/doc/api/globals.md#abortcontrollerabortreason
Refs: https://github.com/nodejs/node/blob/main/doc/api/globals.md#static-method-abortsignalabortreason
PR-URL: #47227
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Reviewed-By: Erick Wendel <erick.workspace@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent 22b9acd commit a21459eCopy full SHA for a21459e
File tree
Expand file treeCollapse file tree
2 files changed
+4
-4
lines changedOpen diff view settings
Filter options
- doc/api
- lib/internal
Expand file treeCollapse file tree
2 files changed
+4
-4
lines changedOpen diff view settings
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
43 | 43 | |
44 | 44 | |
45 | 45 | |
46 | | - |
| 46 | + |
47 | 47 | |
48 | 48 | |
49 | 49 | |
| ||
196 | 196 | |
197 | 197 | |
198 | 198 | |
199 | | - |
| 199 | + |
200 | 200 | |
201 | 201 | |
202 | 202 | |
|
Collapse file
lib/internal/abort_controller.js
Copy file name to clipboardExpand all lines: lib/internal/abort_controller.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
163 | 163 | |
164 | 164 | |
165 | 165 | |
166 | | - |
| 166 | + |
167 | 167 | |
168 | 168 | |
169 | 169 | |
| ||
326 | 326 | |
327 | 327 | |
328 | 328 | |
329 | | - |
| 329 | + |
330 | 330 | |
331 | 331 | |
332 | 332 | |
|
0 commit comments