Skip to content

Commit e8cb4d3

Browse files
authored
fix: added strength wifi property to typescript (#377)
1 parent 0f69bb2 commit e8cb4d3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/internal/nativeModule.web.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ const getCurrentState = (
183183
details: {
184184
isConnectionExpensive,
185185
ssid: null,
186+
strength: null,
186187
ipAddress: null,
187188
subnet: null,
188189
frequency: null,

src/internal/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ export type NetInfoWifiState = NetInfoConnectedState<
6767
NetInfoStateType.wifi,
6868
{
6969
ssid: string | null;
70+
strength: number | null;
7071
ipAddress: string | null;
7172
subnet: string | null;
7273
frequency: number | null;

0 commit comments

Comments
 (0)