Skip to content

Commit

Permalink
plus_code feature added to type definition file (#669)
Browse files Browse the repository at this point in the history
* plus_code feature added to type definition file

Co-authored-by: Steven Bell <[email protected]>
  • Loading branch information
shabith and bell-steven authored Dec 9, 2020
1 parent 0e12807 commit 5190c9e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions GooglePlacesAutocomplete.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,11 @@ interface Geometry {
};
}

interface PlusCode {
compound_code: string;
global_code: string;
}

interface GooglePlaceDetail {
address_components: AddressComponent[];
adr_address: string;
Expand All @@ -311,6 +316,7 @@ interface GooglePlaceDetail {
id: string;
name: string;
place_id: string;
plus_code: PlusCode;
reference: string;
scope: 'GOOGLE';
types: PlaceType;
Expand Down

0 comments on commit 5190c9e

Please sign in to comment.