fix all type errors

This commit is contained in:
Thomas Ruoff
2021-02-15 23:29:25 +01:00
parent 85a7b54a13
commit 3386fb3928
14 changed files with 123 additions and 132 deletions

View File

@@ -10,7 +10,7 @@ export default function Select({
name: string
text: string
value: string
onchange: () => void
onchange: (name: string, event: React.ChangeEvent<{ value: string }>) => void
options: { name: string; value: string }[]
}) {
return (