UNPKG

@elgervb/mock-data

Version:

Mock data made easy, while maintaining type safety

6 lines (5 loc) 257 B
import { BlueprintConstantProperties } from './blueprint'; /** * Returns an array of mocks from a previously registered `Blueprint` */ export declare function arrayFrom<T>(name: string, length: number, withDefaults?: BlueprintConstantProperties<T>): T[];