Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 | 4x 4x 1x 10x | import { Blueprint } from '../blueprint/blueprint'; import { generate } from './mock'; /** * Generate a n length of Blueprints */ export function generateArray<T>(blueprint: Blueprint<T>, length: number): T[] { const ar = new Array(length).fill(0); return ar.map(() => generate(blueprint)); } |