diff options
| author | 2026-01-14 12:03:04 +0800 | |
|---|---|---|
| committer | 2026-01-14 12:03:04 +0800 | |
| commit | e636559dbc509a305dc372887fd1549322092d72 (patch) | |
| tree | 835a6ba0718b5760958bc775ee8bea0b57137eb4 | |
| parent | ce4f190c4cc33c5ffdae7c0d93df2232e2257179 (diff) | |
| download | DropOut-e636559dbc509a305dc372887fd1549322092d72.tar.gz DropOut-e636559dbc509a305dc372887fd1549322092d72.zip | |
chore: add ReturnType type hint
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
| -rw-r--r-- | ui/src/stores/ui.svelte.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/stores/ui.svelte.ts b/ui/src/stores/ui.svelte.ts index b010390..9c29c25 100644 --- a/ui/src/stores/ui.svelte.ts +++ b/ui/src/stores/ui.svelte.ts @@ -5,8 +5,8 @@ export class UIState { status = $state("Ready"); showConsole = $state(false); appVersion = $state("..."); - - private statusTimeout: any; + + private statusTimeout: ReturnType<typeof setTimeout> | null = null; setStatus(msg: string) { if (this.statusTimeout) clearTimeout(this.statusTimeout); |