@types/repeat-element
Version:
TypeScript definitions for repeat-element
13 lines (10 loc) • 420 B
TypeScript
// Type definitions for repeat-element 1.1
// Project: https://github.com/jonschlinkert/repeat-element
// Definitions by: DefinitelyTyped <https://github.com/DefinitelyTyped>
// 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;