UNPKG

@types/repeat-element

Version:
26 lines (19 loc) 735 B
# Installation > `npm install --save @types/repeat-element` # Summary This package contains type definitions for repeat-element (https://github.com/jonschlinkert/repeat-element). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/repeat-element. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/repeat-element/index.d.ts) ````ts /** * Create an array by repeating the given value n times. */ declare function repeat(element: unknown, num: number): unknown[]; export = repeat; ```` ### Additional Details * Last updated: Tue, 07 Nov 2023 15:11:36 GMT * Dependencies: none # Credits These definitions were written by .