Skip to content

Commit

Permalink
feat: TypeScript types file update changes [Esri#319]
Browse files Browse the repository at this point in the history
  • Loading branch information
nooras committed Oct 23, 2024
1 parent 8ced6d3 commit 020ed98
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
declare module 'esri-leaflet-geocoder' {
export function arcgisOnlineProvider(options): any;
export var ArcgisOnlineProvider: any;
export function featureLayerProvider(options): any;
export var FeatureLayerProvider: any;
export function geocode(options): any;
export var Geocode: any;
export function geocodeService(options): any;
export var GeocodeService: any;
export function geocodeServiceProvider(options): any;
export var GeocodeServiceProvider: any;
export function geosearch(options): any;
export var Geosearch: any;
export function mapServiceProvider(options): any;
export var MapServiceProvider: any;
export function reverseGeocode(options): any;
export var ReverseGeocode: any;
export function suggest(options): any;
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
},
"files": [
"src/**/*.js",
"dist/**"
"dist/**",
"index.d.ts"
],
"homepage": "https://github.com/Esri/esri-leaflet-geocoder",
"jsnext:main": "src/EsriLeafletGeocoding.js",
Expand Down

0 comments on commit 020ed98

Please sign in to comment.