Skip to content

Commit a063f82

Browse files
DavidMina96David Mina
andauthored
Fix startExecutionTrace return type (#685)
Co-authored-by: David Mina <[email protected]>
1 parent 4258da9 commit a063f82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ export namespace APM {
583583
* Returns a promise, the promise delivers the trace reference if APM is enabled, otherwise it gets rejected
584584
* @param {string} name
585585
*/
586-
function startExecutionTrace(name: string): Trace;
586+
function startExecutionTrace(name: string): Promise<Trace>;
587587
/**
588588
* Starts a custom trace
589589
* @param {string} name

0 commit comments

Comments
 (0)