source: trip-planner-front/node_modules/memfs/lib/volume-localstorage.d.ts@ 571e0df

Last change on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 471 bytes
Line 
1import { Volume } from './volume';
2export interface IStore {
3 setItem(key: string, json: any): any;
4 getItem(key: string): any;
5 removeItem(key: string): any;
6}
7export declare class ObjectStore {
8 obj: object;
9 constructor(obj: any);
10 setItem(key: string, json: any): void;
11 getItem(key: string): any;
12 removeItem(key: string): void;
13}
14export declare function createVolume(namespace: string, LS?: IStore | object): new (...args: any[]) => Volume;
Note: See TracBrowser for help on using the repository browser.