UNPKG

@elgervb/mock-data

Version:

Mock data made easy, while maintaining type safety

7 lines (6 loc) 229 B
import { Blueprint } from './blueprint'; /** * Generate a mock */ export declare function register<T>(name: string, blueprint: Blueprint<T>): void; export declare function retrieve<T>(name: string): Blueprint<T> | undefined;