UNPKG

421 BTypeScriptView Raw
1import { WebStorage } from '../lib/core/interfaces/webStorage';
2declare class StorageStub implements WebStorage {
3 [name: string]: any;
4 store: {
5 [prop: string]: any;
6 };
7 get length(): number;
8 clear(): void;
9 getItem(key: string): string | null;
10 key(index: number): string | null;
11 removeItem(key: string): void;
12 setItem(key: string, value: string): void;
13}
14export { StorageStub };