UNPKG

400 BTypeScriptView Raw
1import { IStore } from "./store";
2export declare class StoreElectron implements IStore {
3 readonly defaults: any;
4 private _electronStore;
5 constructor(name: string, defaults: any);
6 getDefaults(): any;
7 get(key: string): any;
8 set(key: string | undefined, value: any): void;
9 onChanged(key: string, callback: (newValue: any, oldValue: any) => void): void;
10 reveal(): void;
11}