How is option value string even after accepting a ``value={prop}`` of a number type?
Argument of type 'string' is not assignable to parameter of type 'SetStateAction<number>'
Meanwhile I type
setCurrentPage: (page: number) => void
because the only thing i want it to accept must only be numbers
How is option value string even after accepting a value={prop}
of a number type?
0 Replies