mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
13 lines
414 B
TypeScript
13 lines
414 B
TypeScript
// Type definitions for repeat-element 1.1
|
|
// Project: https://github.com/jonschlinkert/repeat-element
|
|
// Definitions by: Adam Zerella <https://github.com/adamzerella>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 3.0
|
|
|
|
/**
|
|
* Create an array by repeating the given value n times.
|
|
*/
|
|
declare function repeat(element: unknown, num: number): unknown[];
|
|
|
|
export = repeat;
|