Closed henrybzhang closed 2 years ago
For the following:
const availableItems = ['bob', 'tim', 'matt'] ... <DropDownPicker open={openDropdownArr[0]} value={dropdownValueArr[0]} items={availableItems} // error is here ... />
Type 'string[]' is not assignable to type 'ItemType<ValueType>[]'. Type 'string' has no properties in common with type 'ItemType<ValueType>'.ts(2322)
How can I resolve this error? Or could I be pointed to the TypeScript documentation that deals with this issue?
Same issue, how can i resolve?
For the following:
How can I resolve this error? Or could I be pointed to the TypeScript documentation that deals with this issue?