UNPKG

@extra-array/repeat

Version:
10 lines (9 loc) 239 B
declare module "@extra-array/repeat" { /** * Repeats an array given times. * @param x an array * @param n times (1) */ declare function repeat<T>(x: Iterable<T>, n?: number): T[]; export = repeat; //# sourceMappingURL=repeat.d.ts.map}