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 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by .