@traversable/schema
Preparing search index...
@traversable/schema-to-string
toTypeString
tuple
Function tuple
tuple
<
S
>
(
this
:
t_tuple
<
S
>
,
)
:
`
[
${
Join
<
{
[
I
in
string
|
number
|
symbol
]
:
`
${
S
[
I
]
extends
{
"[symbol_optional]"
:
any
}
?
`
_?:
${
Returns
<
any
[
any
]
[
"toType"
]
>
}
`
:
Returns
<
S
[
I
]
[
"toType"
]
>
}
`
}
,
", "
,
""
,
>
}
]
`
Type Parameters
S
Parameters
this
:
t_tuple
<
S
>
Returns
`
[
${
Join
<
{
[
I
in
string
|
number
|
symbol
]
:
`
${
S
[
I
]
extends
{
"[symbol_optional]"
:
any
}
?
`
_?:
${
Returns
<
any
[
any
]
[
"toType"
]
>
}
`
:
Returns
<
S
[
I
]
[
"toType"
]
>
}
`
}
,
", "
,
""
,
>
}
]
`
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@traversable/schema
Loading...