Skip to content

Commit

Permalink
GO-787 renamed type
Browse files Browse the repository at this point in the history
  • Loading branch information
zdila committed Nov 8, 2024
1 parent c5c51b0 commit 08a89c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/services/geocoding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export type LanguageGeocodingOptions = {
language?: string | Array<string> | LanguageInfo | Array<LanguageInfo>;
};

export type PlaceType =
export type GeocodingPlaceType =
| "continental_marine"
| "country"
| "major_landform"
Expand Down Expand Up @@ -60,7 +60,7 @@ export type CommonForwardAndReverseGeocodingOptions =
* Types of features to query.
* If not specified, feature of all available types except `poi` and `major_landform` will be queried (`types = ["poi", "major_landform"]`, `excludeTypes = true`).
*/
types?: PlaceType[];
types?: GeocodingPlaceType[];

/**
* Set to `true` to use all available feature types except those mentioned in `types`. Default value is `false` if `types` is specified.
Expand Down Expand Up @@ -204,7 +204,7 @@ export type GeocodingFeature = Feature<Geometry, FeatureProperties> &
* An array of feature types describing the feature.
* Currently each feature has only single type but this may change in the future.
*/
place_type: PlaceType[];
place_type: GeocodingPlaceType[];

/**
* Localized type of the place name, matches `place_type` property
Expand Down

0 comments on commit 08a89c8

Please sign in to comment.