@n1k1t/mock-server
Version:
The ultimate toolkit to intercept, transform, and simulate HTTP/WS traffic with type-safe expectations
9 lines • 342 B
TypeScript
import { MetaContext, TMetaContext } from './model';
import { TFunction } from '../../types';
export declare class MetaStorage {
private storage;
provide(): MetaContext;
generate(payload?: TMetaContext): MetaContext;
wrap<T>(payload: TMetaContext | undefined, handler: TFunction<T>): T;
}
//# sourceMappingURL=storage.d.ts.map