mirror of
https://github.com/jeffvli/feishin.git
synced 2024-11-20 14:37:06 +01:00
Add array as local settings type
This commit is contained in:
parent
c060df6d22
commit
f41f557493
@ -3,7 +3,7 @@ import { app, ipcRenderer } from 'electron';
|
|||||||
|
|
||||||
const store = new Store();
|
const store = new Store();
|
||||||
|
|
||||||
const set = (property: string, value: string | Record<string, unknown> | boolean) => {
|
const set = (property: string, value: string | Record<string, unknown> | boolean | string[]) => {
|
||||||
store.set(`${property}`, value);
|
store.set(`${property}`, value);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user