mongodb-stitch
Version:
[](https://gitter.im/mongodb/stitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
15 lines (14 loc) • 412 B
TypeScript
interface Storage {
get(key: string): string;
set(key: string, value: string): any;
remove(key: string): any;
}
declare class MemoryStorage implements Storage {
private readonly suiteName;
private readonly storage;
constructor(suiteName: string);
get(key: string): string;
set(key: string, value: string): void;
remove(key: string): void;
}
export { Storage, MemoryStorage };