Mouse Event callback typings are wrong
mcchong opened this issue · 0 comments
mcchong commented
The mouse event typings here (
deckgl-typings/deck.gl__core/index.d.ts
Line 2329 in 73c99a3
The second param is typed as a plain MouseEvent, but I don't think it's a plain mouse Event. E.g. to detect ctrl click I have to use e.srcEvent
, which I think is a PointerEvent..
Also this issue: #93 (I think) makes the first parameter hard to use with GeoJson typings.