Update view.jsx

This commit is contained in:
Sean Yesmunt 2019-02-12 11:59:31 -04:00 committed by GitHub
parent a22345219f
commit 2aafc6d63f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ export type Price = {
amount: number,
};
type SetDaemonSettingArg = boolean | string | Price;
type SetDaemonSettingArg = boolean | string | number | Price;
type DaemonSettings = {
download_dir: string,
@ -22,7 +22,7 @@ type DaemonSettings = {
type Props = {
setDaemonSetting: (string, ?SetDaemonSettingArg) => void,
setClientSetting: (string, SetDaemonSettingArg | number) => void,
setClientSetting: (string, SetDaemonSettingArg) => void,
clearCache: () => Promise<any>,
getThemes: () => void,
daemonSettings: DaemonSettings,