mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-09-07 09:40:19 +00:00
onClick() and onHover() only receive single argument. (#29392)
This commit is contained in:
Vendored
+2
-2
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user