Closed edizcelik closed 3 years ago
Say, I have items that have the following shape: RadioInputItem<SpecificIDs>[]. When I define onSelect prop with second parameter's type as RadioInputItem<SpecificIDs>, TSC complains saying that ids are not compatible.
RadioInputItem<SpecificIDs>[]
onSelect
RadioInputItem<SpecificIDs>
Released https://github.com/Hipo/react-ui-toolkit/releases/tag/1.0.0-alpha.4.0.0
Say, I have items that have the following shape:
RadioInputItem<SpecificIDs>[]
. When I defineonSelect
prop with second parameter's type asRadioInputItem<SpecificIDs>
, TSC complains saying that ids are not compatible.