webstorage-decorators/lib/src/webStorage.d.ts
2018-05-03 15:07:59 -04:00

8 lines
323 B
TypeScript

export interface WebStorageOptions {
fieldName?: string;
encryptionKey?: string;
defaultValue?: any;
}
export declare function LocalStorage(opts?: WebStorageOptions): (target: object, key: string) => void;
export declare function SessionStorage(opts?: WebStorageOptions): (target: object, key: string) => void;