1.6.5 • Published 6 months ago

@types/repeat-string v1.6.5

Weekly downloads
104,240
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/repeat-string

Summary

This package contains type definitions for repeat-string (https://github.com/jonschlinkert/repeat-string).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/repeat-string.

index.d.ts

// Type definitions for repeat-string 1.6
// Project: https://github.com/jonschlinkert/repeat-string
// Definitions by: DefinitelyTyped <https://github.com/DefinitelyTyped>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/**
 * Repeat the given `string` the specified `number` of times.
 */
declare function repeat(str: string, num?: number | string | null): string;

export = repeat;

Additional Details

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

Credits

These definitions were written by DefinitelyTyped.