I have custom action on table. Typescript requires function to have signature:
public customAction(event: any, rowData: IRowData[])
It is ok when selection is enabled, but when selection is disabled and action is executed on single row, rowData is just object of this row (not an array). So now i need to do @ts-ignore or my code dont work.
The type for parentChildData is also wrong, as the function returns a single dataset and not an array.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.
Most helpful comment
The type for parentChildData is also wrong, as the function returns a single dataset and not an array.