Skip to content

Commit eb0aca2

Browse files
committed
chore: make stack optional to make TS happy
1 parent 10d21a0 commit eb0aca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte/src/compiler/utils/compile_diagnostic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function get_code_frame(source, line, column) {
3939
* @typedef {{
4040
* code: string;
4141
* message: string;
42-
* stack: string;
42+
* stack?: string;
4343
* filename?: string;
4444
* start?: Location;
4545
* end?: Location;

0 commit comments

Comments
 (0)