@aws-amplify/core
Version:
Core category of aws-amplify
13 lines (12 loc) • 322 B
TypeScript
/**
* @internal
*/
export declare class InMemoryStorage implements Storage {
storage: Map<string, string>;
get length(): number;
key(index: number): string | null;
setItem(key: string, value: string): void;
getItem(key: string): string | null;
removeItem(key: string): void;
clear(): void;
}