This issue is about onPickerConfirm, onPickerCancel, and onPickerSelect.
It looks like the typings here are wrong. InPickerTest, there are examples where the callbacks receive the index of the selected value. However, this is not reflected in the typescript typings. Instead, they show:
This issue is about
onPickerConfirm
,onPickerCancel
, andonPickerSelect
.It looks like the typings here are wrong. In
PickerTest
, there are examples where the callbacks receive the index of the selected value. However, this is not reflected in the typescript typings. Instead, they show:I believe the correct typings should be of the form
onPickerConfirm?(item: any[], index?: number): void
.