Open alejo-acevedo-deel opened 1 year ago
There is a little bug in the TS definition because isInit is not a method, it is a getter so you cannot make Geocodoer.isInit() and when you do Geocoder.isInit TS fails
isInit
Geocodoer.isInit()
Geocoder.isInit
https://github.com/marlove/react-native-geocoding/blob/55be82dc73a2944a5e8e333e5faddfb0706c2231/index.d.ts#L46
What about creating a PR?
isInit TS Error: return true since this function is always defined
There is a little bug in the TS definition because
isInit
is not a method, it is a getter so you cannot makeGeocodoer.isInit()
and when you doGeocoder.isInit
TS failshttps://github.com/marlove/react-native-geocoding/blob/55be82dc73a2944a5e8e333e5faddfb0706c2231/index.d.ts#L46