react-select icon indicating copy to clipboard operation
react-select copied to clipboard

Select Option type hint is too loose (missing "extends object")

Open Tjstretchalot opened this issue 8 months ago • 0 comments

If using number for the Select Option type then you get an error (Cannot use 'in' operator to search for 'options' in 0). This could be checked during type checking by indicating that Option must be an object (or any additional required restrictions) which would be a nice quality of life improvement.

Tjstretchalot avatar Jun 03 '25 15:06 Tjstretchalot