Skip to content

Commit

Permalink
Merge pull request #173 from googlemaps/cl/607508942
Browse files Browse the repository at this point in the history
refactor: expand SearchByTextRequest shim type
  • Loading branch information
kwnevarez authored Feb 16, 2024
2 parents 86522d8 + f8c831c commit fe71165
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/utils/googlemaps_types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ export declare type Review =
export declare interface SearchByTextRequest {
textQuery: string;
fields: string[];
locationBias?: google.maps.LatLngBounds;
locationBias?: google.maps.LatLngLiteral|google.maps.LatLngBounds;
includedType?: string;
region?: string;
}

/** Updated Place class with new attribution schema. */
Expand Down Expand Up @@ -168,4 +170,4 @@ export declare interface ValidationResult {
export declare interface AddressValidationResponse {
result: ValidationResult;
responseId: string;
}
}

0 comments on commit fe71165

Please sign in to comment.