import { StoreSchema } from "." ; const Store = require ( "electron-store" ) ; export const store = new Store ( ) ; export function StoreGet < T extends keyof StoreSchema > ( key ) { return store . get ( key ) ; } export function StoreSet < T extends keyof StoreSchema > ( key , value ) { store . set ( key , value ) ; }