Skip to content

Commit

Permalink
fix(types): add missing hasGms hasHms flow types (#1436)
Browse files Browse the repository at this point in the history
  • Loading branch information
passerbyloo committed Jul 11, 2022
1 parent fa586bc commit f51fb98
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/index.js.flow
Expand Up @@ -125,6 +125,10 @@ declare module.exports: {
hasSystemFeature: (feature: string) => Promise<boolean>,
hasSystemFeatureSync: (feature: string) => boolean,
hasSystemFeatureSync: (feature: string) => boolean,
hasGms: () => Promise<boolean>,
hasGmsSync: () => boolean,
hasHms: () => Promise<boolean>,
hasHmsSync: () => boolean,
isAirplaneMode: () => Promise<boolean>,
isAirplaneModeSync: () => boolean,
isBatteryCharging: () => Promise<boolean>,
Expand Down

0 comments on commit f51fb98

Please sign in to comment.