UNPKG

mongodb-stitch

Version:

[![Join the chat at https://gitter.im/mongodb/stitch](https://badges.gitter.im/mongodb/stitch.svg)](https://gitter.im/mongodb/stitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

15 lines (14 loc) 412 B
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 };