diff --git a/index.d.ts b/index.d.ts index a2f8d35..80336a7 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,10 +1,10 @@ declare module 'react-native-geocoding' { export default class Geocoder { - init(apiKey: string, options: Object): void; - isInit(): boolean; - setApiKey(API_KEY: string): void; - from(...params: any[]): Promise; - getFromLocation(address: string): Promise; - getFromLatLng(lat: number, lng: number): Promise; + public static init(apiKey: string, options: Object): void; + public static isInit(): boolean; + public static setApiKey(API_KEY: string): void; + public static from(...params: any[]): Promise; + public static getFromLocation(address: string): Promise; + public static getFromLatLng(lat: number, lng: number): Promise; } }