Support 0.31 SDK, vrooom #2277
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ export type Price = {
|
||||||
amount: number,
|
amount: number,
|
||||||
};
|
};
|
||||||
|
|
||||||
type SetDaemonSettingArg = boolean | string | Price;
|
type SetDaemonSettingArg = boolean | string | number | Price;
|
||||||
|
|
||||||
type DaemonSettings = {
|
type DaemonSettings = {
|
||||||
download_dir: string,
|
download_dir: string,
|
||||||
|
@ -22,7 +22,7 @@ type DaemonSettings = {
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
setDaemonSetting: (string, ?SetDaemonSettingArg) => void,
|
setDaemonSetting: (string, ?SetDaemonSettingArg) => void,
|
||||||
setClientSetting: (string, SetDaemonSettingArg | number) => void,
|
setClientSetting: (string, SetDaemonSettingArg) => void,
|
||||||
clearCache: () => Promise<any>,
|
clearCache: () => Promise<any>,
|
||||||
getThemes: () => void,
|
getThemes: () => void,
|
||||||
daemonSettings: DaemonSettings,
|
daemonSettings: DaemonSettings,
|
||||||
|
|
Loading…
Reference in a new issue