mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
onClick() and onHover() only receive single argument. (#29392)
This commit is contained in:
parent
f66411657c
commit
56073ea2ff
4
types/react-map-gl/index.d.ts
vendored
4
types/react-map-gl/index.d.ts
vendored
@ -143,8 +143,8 @@ export interface InteractiveMapProps extends StaticMapProps {
|
||||
touchRotate?: boolean;
|
||||
keyboard?: boolean;
|
||||
|
||||
onHover?: (event: MapEvent, lngLat: number[], features: any) => void;
|
||||
onClick?: (event: MapEvent, lngLat: number[], features: any) => void;
|
||||
onHover?: (event: MapEvent) => void;
|
||||
onClick?: (event: MapEvent) => void;
|
||||
|
||||
onContextMenu?: (event: MapEvent) => void;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user