mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 07:04:05 +08:00
flowify a few more Libraries
This commit is contained in:
@@ -37,7 +37,8 @@ var Geolocation = {
|
||||
getCurrentPosition: function(
|
||||
geo_success: Function,
|
||||
geo_error?: Function,
|
||||
geo_options?: Object) {
|
||||
geo_options?: Object
|
||||
) {
|
||||
invariant(
|
||||
typeof geo_success === 'function',
|
||||
'Must provide a valid geo_success callback.'
|
||||
|
||||
Reference in New Issue
Block a user