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