PokéRogue
GitHub
Switch to Main
Preparing search index...
src/@types/error-type
StringifyTuple
Type Alias StringifyTuple<Arr, Delim, Acc>
StringifyTuple
:
Arr
extends
[
]
?
Acc
:
Arr
extends
[
infer
First
,
...
(
infer
Rest
)
]
?
StringifyTuple
<
Rest
,
Delim
,
Acc
extends
""
?
PrintTypeInternal
<
First
>
:
`
${
Acc
}
${
Delim
}
${
PrintTypeInternal
<
First
>
}
`
,
>
:
never
Tail-recursive helper to stringify a tuple with an arbitrary delimiter.
Type Parameters
Arr
extends
unknown
[]
Delim
extends
string
Acc
extends
string
=
""
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
GitHub
Switch to Main
PokéRogue
Loading...
Tail-recursive helper to stringify a tuple with an arbitrary delimiter.