diff --git a/SystemSetting.d.ts b/SystemSetting.d.ts index 363aa00..a94746a 100644 --- a/SystemSetting.d.ts +++ b/SystemSetting.d.ts @@ -50,7 +50,7 @@ interface SystemSetting { switchWifi: () => void; isLocationEnabled: () => Promise; getLocationMode: () => Promise; - switchLocation: () => void; + switchLocation: (callback: () => void) => void; isBluetoothEnabled: () => Promise; switchBluetooth: () => void; switchBluetoothSilence: () => void;