![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/vreg/node_modules/vuex-persistedstate/dist/ |
import { Store, MutationPayload } from "vuex"; interface Storage { getItem: (key: string) => any; setItem: (key: string, value: any) => void; removeItem: (key: string) => void; } interface Options<State> { key?: string; paths?: string[]; reducer?: (state: State, paths: string[]) => object; subscriber?: (store: Store<State>) => (handler: (mutation: any, state: State) => void) => void; storage?: Storage; getState?: (key: string, storage: Storage) => any; setState?: (key: string, state: any, storage: Storage) => void; filter?: (mutation: MutationPayload) => boolean; arrayMerger?: (state: any[], saved: any[]) => any; rehydrated?: (store: Store<State>) => void; fetchBeforeUse?: boolean; overwrite?: boolean; assertStorage?: (storage: Storage) => void | Error; } export default function <State>(options?: Options<State>): (store: Store<State>) => void; export {};