@pleisto/active-support
Preparing search index...
Repeat
Type Alias Repeat<Char, Count, Joined, Acc>
Repeat
:
Acc
[
"length"
]
extends
Count
?
Joined
:
Repeat
<
Char
,
Count
,
`
${
Joined
}
${
Char
}
`
,
[
0
,
...
Acc
]
>
Repeat string
Type Parameters
Char
extends
string
Count
extends
number
Joined
extends
string
=
""
Acc
extends
0
[]
=
[
]
Example
const
x
:
Repeat
<
'1'
|
'2'
,
4
> =
'1122'
Copy
Source
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@pleisto/active-support
Loading...
Repeat string