From 00f709f15cbeca0a1261bbeefba7dac68fe6302e Mon Sep 17 00:00:00 2001 From: Aleksander Tatarczyk Date: Tue, 6 Feb 2018 07:47:46 +0100 Subject: [PATCH] fix(types/index.d.ts): include padding parameter in fitBounds call signature --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index bdf0fb1f..84a8b542 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -258,7 +258,7 @@ declare module 'react-google-maps/lib/components/GoogleMap' { } export default class GoogleMap extends Component { - fitBounds(bounds: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral): void + fitBounds(bounds: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral, padding?: number): void panBy(x: number, y: number): void panTo(latLng: google.maps.LatLng | google.maps.LatLngLiteral): void panToBounds(latLngBounds: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral): void