michalchudziak / react-native-geolocation

Geolocation APIs for React Native
MIT License
1.27k stars 219 forks source link

Shouldn't type GeolocationResponse have a `mocked` attribute? #287

Open matheusjardimb opened 7 months ago

matheusjardimb commented 7 months ago

The Geolocation.getCurrentPosition method returns a GeolocationResponse on success, which has a boolean mocked attribute. The issue is that the IDE's autocomplete fails to suggest such field, considering it's not defined in the type.

Am I missing something?