1 | // Type definitions for repeat-element 1.1
|
2 | // Project: https://github.com/jonschlinkert/repeat-element
|
3 | // Definitions by: DefinitelyTyped <https://github.com/DefinitelyTyped>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 | // TypeScript Version: 3.0
|
6 |
|
7 | /**
|
8 | * Create an array by repeating the given value n times.
|
9 | */
|
10 | declare function repeat(element: unknown, num: number): unknown[];
|
11 |
|
12 | export = repeat;
|