From 82a14c721f87dca5167e4495b3afd1ecb372bfa3 Mon Sep 17 00:00:00 2001 From: benny-medflyt Date: Sun, 9 Jul 2017 14:42:26 +0300 Subject: [PATCH] [googlemaps] Fix DirectionsRequest to support LatLngLiteral --- types/googlemaps/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/googlemaps/index.d.ts b/types/googlemaps/index.d.ts index ac9566757f..b36032d298 100644 --- a/types/googlemaps/index.d.ts +++ b/types/googlemaps/index.d.ts @@ -1255,7 +1255,7 @@ declare namespace google.maps { * Location of destination. This can be specified as either a string to be geocoded, or a LatLng, * or a Place. Required. */ - destination?: string|LatLng|Place; + destination?: string|LatLng|LatLngLiteral|Place; /** Deprecated. Use drivingOptions field instead */ durationInTraffic?: boolean; /** @@ -1273,7 +1273,7 @@ declare namespace google.maps { * Location of origin. This can be specified as either a string to be geocoded, or a LatLng, or a Place. * Required. */ - origin?: string|LatLng|Place; + origin?: string|LatLng|LatLngLiteral|Place; /** Whether or not route alternatives should be provided. Optional. */ provideRouteAlternatives?: boolean; /** Region code used as a bias for geocoding requests. Optional. */