Skip to content

Commit fe71165

Browse files
authored
Merge pull request #173 from googlemaps/cl/607508942
refactor: expand SearchByTextRequest shim type
2 parents 86522d8 + f8c831c commit fe71165

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/utils/googlemaps_types.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ export declare type Review =
3131
export declare interface SearchByTextRequest {
3232
textQuery: string;
3333
fields: string[];
34-
locationBias?: google.maps.LatLngBounds;
34+
locationBias?: google.maps.LatLngLiteral|google.maps.LatLngBounds;
35+
includedType?: string;
36+
region?: string;
3537
}
3638

3739
/** Updated Place class with new attribution schema. */
@@ -168,4 +170,4 @@ export declare interface ValidationResult {
168170
export declare interface AddressValidationResponse {
169171
result: ValidationResult;
170172
responseId: string;
171-
}
173+
}

0 commit comments

Comments
 (0)