Skip to content

Commit

Permalink
fix: added strength wifi property to typescript (#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
organom authored Jun 19, 2020
1 parent 0f69bb2 commit e8cb4d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/internal/nativeModule.web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ const getCurrentState = (
details: {
isConnectionExpensive,
ssid: null,
strength: null,
ipAddress: null,
subnet: null,
frequency: null,
Expand Down
1 change: 1 addition & 0 deletions src/internal/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export type NetInfoWifiState = NetInfoConnectedState<
NetInfoStateType.wifi,
{
ssid: string | null;
strength: number | null;
ipAddress: string | null;
subnet: string | null;
frequency: number | null;
Expand Down

0 comments on commit e8cb4d3

Please sign in to comment.