Skip to content

Commit

Permalink
feat: export google provider types (#406)
Browse files Browse the repository at this point in the history
Exported the missing types that are commonly used when using the google
provider.
  • Loading branch information
franciscofsales authored May 24, 2024
1 parent 4b33f32 commit 9197b37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/googleProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import AbstractProvider, {
} from './provider';
import { Loader, LoaderOptions } from '@googlemaps/js-api-loader';

interface RequestResult {
export interface RequestResult {
results: google.maps.GeocoderResult[];
status?: google.maps.GeocoderStatus;
}

interface GeocodeError {
export interface GeocodeError {
code: Exclude<google.maps.GeocoderStatus, google.maps.GeocoderStatus.OK>;
endpoint: 'GEOCODER_GEOCODE';
message: string;
Expand Down

0 comments on commit 9197b37

Please sign in to comment.