Specifying onClick event type with Typescript and React.Konva
You’re probably out of luck without some hack-y workarounds You could try onClick={(event: React.MouseEvent<HTMLElement>) => { makeMove(ownMark, (event.target as any).index) }} I’m not sure how strict your linter is – that might shut it up just a little bit I played around with it for a bit, and couldn’t figure it out, but you can … Read more