Skip to content

Commit 829dfc8

Browse files
committed
fix ts definitions
1 parent c4a4cc3 commit 829dfc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
declare module 'react-native-geocoding' {
22
export default class Geocoder {
33
init(apiKey: string): void;
4-
get isInit(): boolean;
4+
isInit(): boolean;
55
setApiKey(API_KEY: string): void;
6-
from(...params): Promise<void>;
6+
from(...params: any[]): Promise<void>;
77
getFromLocation(address: string): Promise<any>;
88
getFromLatLng(lat: number, lng: number): Promise<any>;
99
}

0 commit comments

Comments
 (0)