Improve a few more types, including StateDefinition["foo"] usage

Fixes #5
This commit is contained in:
Ryan Gossiaux
2021-12-19 00:09:44 -08:00
parent 305dc1543f
commit 63d44e125c
6 changed files with 14 additions and 15 deletions

View File

@@ -47,7 +47,7 @@
<script lang="ts">
import { treeWalker } from "$lib/hooks/use-tree-walker";
export let disabled = false;
export let value: any;
export let value: StateDefinition["value"];
let radioGroupRef: HTMLElement | null = null;
let options: StateDefinition["options"] = [];