flowify a few more Libraries

This commit is contained in:
Basil Hosmer
2015-03-26 10:06:50 -07:00
parent 7e02a1e111
commit 030b264eb4
9 changed files with 57 additions and 23 deletions

View File

@@ -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.'