Skip to content

Commit 7c0422f

Browse files
committed
fixup! lib: add util.getCallSite() API
1 parent 201e50e commit 7c0422f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

doc/api/util.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ util.formatWithOptions({ colors: true }, 'See object %O', { foo: 42 });
372372
added: REPLACEME
373373
-->
374374

375-
* Returns: {CallSite\[]} An array of CallSite objects, read more at <https://v8.dev/docs/stack-trace-api#customizing-stack-traces>.
375+
* Returns: {CallSite\[]} An array of CallSite objects.
376376

377377
Returns an array of V8 CallSite objects containing the stacktrace of
378378
the caller function.

tools/doc/type-parser.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ const customTypesMap = {
4949
'worker_threads.html#class-broadcastchannel-' +
5050
'extends-eventtarget',
5151

52+
'CallSite': 'https://v8.dev/docs/stack-trace-api#customizing-stack-traces',
53+
5254
'Iterable':
5355
`${jsDocPrefix}Reference/Iteration_protocols#The_iterable_protocol`,
5456
'Iterator':

0 commit comments

Comments
 (0)