@types/repeat-element
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

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

/**
 * 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 .

Readme

Keywords

none

Package Sidebar

Install

npm i @types/repeat-element

Weekly Downloads

6,274

Version

1.1.3

License

MIT

Unpacked Size

2.69 kB

Total Files

5

Last publish

Collaborators

  • types