Skip to content

Commit

Permalink
Added typescript validation for switchLocation
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] authored and [email protected] committed Oct 8, 2020
1 parent 001d7ef commit 9bfabbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SystemSetting.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ interface SystemSetting {
switchWifi: () => void;
isLocationEnabled: () => Promise<boolean>;
getLocationMode: () => Promise<number>;
switchLocation: () => void;
switchLocation: (callback: () => void) => void;
isBluetoothEnabled: () => Promise<boolean>;
switchBluetooth: () => void;
switchBluetoothSilence: () => void;
Expand Down

0 comments on commit 9bfabbb

Please sign in to comment.