Skip to content

Commit 07c399e

Browse files
committed
missed a spot
1 parent db7fe33 commit 07c399e

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

packages/repl/src/lib/Output/console/ConsoleLine.svelte

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<script>
1+
<script lang="ts">
22
import JSONNode from 'svelte-json-tree';
33
import ConsoleTable from './ConsoleTable.svelte';
4+
import type { Log } from './console';
45
5-
/** @type {import('./console').Log} */
6-
export let log;
6+
export let log: Log;
77
export let depth = 0;
88
99
function toggle_group_collapse() {
@@ -12,8 +12,7 @@
1212
1313
let style;
1414
15-
/** @param {string} text */
16-
function sanitize_css(text) {
15+
function sanitize_css(text: string) {
1716
style ??= document.createElement('span').style;
1817
style.cssText = text;
1918
@@ -28,8 +27,7 @@
2827
return style.cssText;
2928
}
3029
31-
/** @param {any[]} [args] */
32-
function format_args(args = []) {
30+
function format_args(args: any[] = []) {
3331
if (args.length === 0) return args;
3432
3533
if (typeof args[0] !== 'string') {

0 commit comments

Comments
 (0)