Skip to content

Commit 0add6da

Browse files
authored
style: improve some code style errors
1 parent ee74cac commit 0add6da

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

lib/types/index.d.ts

+3-5
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ declare module 'react-native-wifi-reborn' {
108108
SSID: string,
109109
password: string | null,
110110
isWEP: boolean,
111-
isHidden: boolean,
111+
isHidden: boolean
112112
): Promise<void>;
113113

114114
/**
@@ -118,9 +118,7 @@ declare module 'react-native-wifi-reborn' {
118118
* @param networkConfigs List of network configurations containing SSID, password, WPA3 flag, and app interaction flag.
119119
* @returns Promise that resolves with 'connected' on success, or rejects with an error message on failure.
120120
*/
121-
export function suggestWifiNetwork(
122-
networkConfigs: SuggestedNetworkConfig[],
123-
): Promise<string>;
121+
export function suggestWifiNetwork(networkConfigs: SuggestedNetworkConfig[]): Promise<string>;
124122

125123
/**
126124
* Connects to a WiFi network. Rejects with an error if it couldn't connect.
@@ -139,7 +137,7 @@ declare module 'react-native-wifi-reborn' {
139137
timeout?: number;
140138
};
141139
export function connectToProtectedWifiSSID(
142-
options: ConnectToProtectedSSIDParams,
140+
options: ConnectToProtectedSSIDParams
143141
): Promise<void>;
144142

145143
export enum GET_CURRENT_WIFI_SSID_ERRRORS {

0 commit comments

Comments
 (0)