Skip to content

Commit

Permalink
Refactor(type): expose LatLng type
Browse files Browse the repository at this point in the history
  • Loading branch information
wellyshen committed Feb 21, 2020
1 parent cc15975 commit 54dae2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/use-places-autocomplete.d.ts
Expand Up @@ -165,7 +165,7 @@ declare module 'use-places-autocomplete' {

export const getGeocode: ({ address, placeId }: GeoArgs) => GeoReturn;

type LatLng = { lat: number; lng: number };
export type LatLng = { lat: number; lng: number };

type LatLngReturn = Promise<LatLng>;

Expand Down

0 comments on commit 54dae2c

Please sign in to comment.