1.1.3 • Published 6 months ago

@types/repeat-element v1.1.3

Weekly downloads
102,751
License
MIT
Repository
github
Last release
6 months ago

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

// 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;

Additional Details

  • Last updated: Thu, 23 Dec 2021 23:35:45 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by DefinitelyTyped.