Skip to content

Commit

Permalink
ball: add type annotation to brightness
Browse files Browse the repository at this point in the history
  • Loading branch information
jnikula committed Nov 17, 2024
1 parent c49de29 commit b3328dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Ball.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
children,
}: Props = $props();
let brightness = $derived(active ? '100%' : '50%')
let brightness: string = $derived(active ? '100%' : '50%')
function onclick(): void {
if (active)
Expand Down

0 comments on commit b3328dd

Please sign in to comment.