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.
// Type definitions for repeat-string 1.6
// Project: https://github.com/jonschlinkert/repeat-string
// Definitions by: Adam Zerella <https://github.com/adamzerella>
// 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: Wed, 20 Oct 2021 16:31:24 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Adam Zerella.
Current Tags
-
1.6.3
...
latest
(3 years ago)
-
1.6.0
...
ts2.0
(6 years ago)
-
1.6.0
...
ts2.1
(6 years ago)
-
1.6.0
...
ts2.2
(6 years ago)
-
1.6.0
...
ts2.3
(6 years ago)
-
1.6.0
...
ts2.4
(6 years ago)
-
1.6.0
...
ts2.5
(6 years ago)
-
1.6.0
...
ts2.6
(6 years ago)
-
1.6.0
...
ts2.7
(6 years ago)
-
1.6.0
...
ts2.8
(6 years ago)
-
1.6.0
...
ts2.9
(6 years ago)
-
1.6.0
...
ts3.0
(6 years ago)
-
1.6.0
...
ts3.1
(6 years ago)
-
1.6.0
...
ts3.2
(6 years ago)
-
1.6.0
...
ts3.3
(6 years ago)
-
1.6.0
...
ts3.4
(6 years ago)
-
1.6.0
...
ts3.5
(6 years ago)
-
1.6.1
...
ts3.6
(3 years ago)
-
1.6.2
...
ts3.7
(3 years ago)
-
1.6.3
...
ts3.8
(3 years ago)
-
1.6.3
...
ts3.9
(3 years ago)
-
1.6.3
...
ts4.0
(3 years ago)
-
1.6.3
...
ts4.1
(3 years ago)
-
1.6.3
...
ts4.2
(3 years ago)
-
1.6.3
...
ts4.3
(3 years ago)
-
1.6.3
...
ts4.4
(3 years ago)
-
1.6.3
...
ts4.5
(3 years ago)
-
1.6.3
...
ts4.6
(3 years ago)
-
1.6.3
...
ts4.7
(3 years ago)
-
1.6.3
...
ts4.8
(3 years ago)
-
1.6.3
...
ts4.9
(3 years ago)
-
1.6.3
...
ts5.0
(3 years ago)
-
1.6.3
...
ts5.1
(3 years ago)
4 Versions