Skip to content

Commit 72ef6cd

Browse files
authored
fix: Added missing bssid type definition to Typescript (#370 by @organom)
1 parent fe2cdcc commit 72ef6cd

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+
bssid: null,
186187
strength: null,
187188
ipAddress: null,
188189
subnet: 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+
bssid: string | null;
7071
strength: number | null;
7172
ipAddress: string | null;
7273
subnet: string | null;

0 commit comments

Comments
 (0)