@n1k1t/mock-server
Version:
Powerful util to setup mocks over HTTP APIs
10 lines • 414 B
TypeScript
import { History } from './model';
export declare class HistoryStorage extends Map<string, History> {
protected configuration: Pick<History, 'group'>;
private stack;
constructor(configuration: Pick<History, 'group'>);
register(predicate: History | Omit<History['configuration'], 'group'>): History;
unregister(history?: History): this;
clear(): void;
}
//# sourceMappingURL=storage.d.ts.map