marlove/react-native-geocoding

Is Init TS Error: return true since this function is always defined

Opened this issue · 1 comments

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 make Geocodoer.isInit() and when you do Geocoder.isInit TS fails

function isInit(): boolean;

What about creating a PR?