Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export google provider types #406

Merged
merged 1 commit into from
May 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@
} 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 Expand Up @@ -41,7 +41,7 @@
}
}

endpoint({ query }: EndpointArgument): never {

Check warning on line 44 in src/providers/googleProvider.ts

View workflow job for this annotation

GitHub Actions / Eslint

'query' is defined but never used
throw new Error('Method not implemented.');
}

Expand Down
Loading