File: index.d.ts

package info (click to toggle)
node-repeat-element 1.1.4%2B~1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 300 kB
  • sloc: javascript: 289; makefile: 2
file content (12 lines) | stat: -rw-r--r-- 414 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
// 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;