npm.io
1.6.5 • Published 2 years ago

@types/repeat-string

Licence
MIT
Version
1.6.5
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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

/**
 * 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: Tue, 07 Nov 2023 1536 GMT
  • Dependencies: none

Credits

These definitions were written by .