From 7156ef8711b6809da458c11785d1be13de6c640b Mon Sep 17 00:00:00 2001 From: Tom Most Date: Sun, 3 Nov 2024 23:11:42 -0800 Subject: [PATCH] Fix element type annotation --- src/lib/FracInput.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/FracInput.svelte b/src/lib/FracInput.svelte index d06369e..ef20b79 100644 --- a/src/lib/FracInput.svelte +++ b/src/lib/FracInput.svelte @@ -44,7 +44,7 @@ }: Props = $props() let focused: boolean = $state(false) - let input: HTMLInputElement = $state() + let input: HTMLInputElement | undefined = $state() let rawValue = $state(frac(value)) let displayValue = $state(frac(value))