Skip to content

Commit a078e25

Browse files
trueadmRich-Harris
andauthored
Update packages/svelte/src/internal/client/dev/tracing.js
Co-authored-by: Rich Harris <[email protected]>
1 parent 3da9dac commit a078e25

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/svelte/src/internal/client/dev/tracing.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,10 @@ export function trace(fn, label) {
146146
}
147147
}
148148

149-
export function get_stack() {
149+
/**
150+
* @param {string} label
151+
*/
152+
export function get_stack(label) {
150153
let error = Error();
151154
const stack = error.stack;
152155

0 commit comments

Comments
 (0)