diff --git a/src/plugins/hotspot.ts b/src/plugins/hotspot.ts index 95d6d6f7c..9903f3a14 100644 --- a/src/plugins/hotspot.ts +++ b/src/plugins/hotspot.ts @@ -44,16 +44,16 @@ export class Hotspot { static getAllHotspotDevices(): Promise {return; } @Cordova() - static connectToHotspot(ssid, password): Promise {return; } + static connectToHotspot(ssid: string, password: string): Promise {return; } @Cordova() - static connectToWifiAuthEncrypt(ssid, password, authentication, encryption): Promise {return; } + static connectToWifiAuthEncrypt(ssid: string, password: string, authentication, encryption): Promise {return; } @Cordova() - static addWifiNetwork(ssid, mode, password): Promise {return; } + static addWifiNetwork(ssid: string, mode, password): Promise {return; } @Cordova() - static removeWifiNetwork(ssid): Promise {return; } + static removeWifiNetwork(ssid: string): Promise {return; } @Cordova() static isConnectedToInternet(): Promise {return; } @@ -77,7 +77,7 @@ export class Hotspot { static scanWifiByLevel(): Promise {return; } @Cordova() - static startPeriodicallyScan(interval, duration): Promise {return; } + static startPeriodicallyScan(interval: number, duration: number): Promise {return; } @Cordova() static stopPeriodicallyScan(): Promise {return; } @@ -89,16 +89,16 @@ export class Hotspot { static getConnectionInfo(): Promise {return; } @Cordova() - static pingHost(ip): Promise {return; } + static pingHost(ip: string): Promise {return; } @Cordova() - static getMacAddressOfHost(ip): Promise {return; } + static getMacAddressOfHost(ip: string): Promise {return; } @Cordova() - static isDnsLive(ip): Promise {return; } + static isDnsLive(ip: string): Promise {return; } @Cordova() - static isPortLife(ip): Promise {return; } + static isPortLife(ip: string): Promise {return; } @Cordova() static isRooted(): Promise {return; }