From 5910ac9c59cb6af72616d7d5e71f217736c80719 Mon Sep 17 00:00:00 2001 From: Andrei Horodinca Date: Mon, 10 Sep 2018 12:08:44 +0200 Subject: [PATCH] feat(types): add optional padding parameter to fitBounds method --- 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..e5d3322b 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 | google.maps.Padding): 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