We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 871e4ab commit 13d22eaCopy full SHA for 13d22ea
types/google__maps/index.d.ts
@@ -575,7 +575,7 @@ export interface DirectionsRequest {
575
* This option is only available if the request contains a valid API key, or a valid Google Maps APIs Premium Plan client ID
576
* and signature. The `departure_time` must be set to the current time or some time in the future. It cannot be in the past.
577
*/
578
- departure_time?: Date | number;
+ departure_time?: Date | number | 'now';
579
/**
580
* Specifies the assumptions to use when calculating time in traffic.
581
* This setting affects the value returned in the `duration_in_traffic` field in the response, which contains the predicted time
0 commit comments