refactor: improve enum typesafety for filter component #1095
Annotations
3 errors
|
Run typecheck
Process completed with exit code 2.
|
|
Run typecheck
@example/ui-playground#typecheck: command (/home/runner/work/genseki/genseki/examples/ui-playground) /home/runner/setup-pnpm/node_modules/.bin/pnpm run typecheck exited (2)
|
|
Run typecheck
Type 'Dispatch<SetStateAction<{ color: ({ value: string; label: string; isSelected: boolean; description?: undefined; } | { value: string; label: string; description: string; isSelected?: undefined; })[]; animal: { value: string; label: string; description: string; }[]; }>>' is not assignable to type '(options: FilterOptions) => void'.
|
background
wait
wait-all
cancel
Loading