UNPKG

239 BTypeScriptView Raw
1declare module "@extra-array/repeat" {
2/**
3 * Repeats an array given times.
4 * @param x an array
5 * @param n times (1)
6 */
7declare function repeat<T>(x: Iterable<T>, n?: number): T[];
8export = repeat;
9//# sourceMappingURL=repeat.d.ts.map}