Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

dataHandler wrong type definition #102

Open
RexusWolf opened this issue Feb 8, 2023 · 1 comment
Open

dataHandler wrong type definition #102

RexusWolf opened this issue Feb 8, 2023 · 1 comment

Comments

@RexusWolf
Copy link

While trying to implement the dataHandler following the example in the README, I get this error:
Type '(rows: any, { startIndex }: { startIndex: any; }) => Promise<void>' is not assignable to type 'undefined'.ts(2322)

@unframework
Copy link
Collaborator

Hmm, can you share a fuller snippet of how you are calling the component? Could be that you are supplying both dataHandler and processChunk props at once - only the first one should be specified.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants