ts-fortress
Preparing search index...
array/min-length-tuple
minLengthTuple
Function minLengthTuple
minLengthTuple
<
N
extends
StructuralPrefixLength
,
A
>
(
size
:
N
,
elementType
:
Type
<
A
>
,
options
?:
Partial
<
Readonly
<
{
defaultValue
:
readonly
[
MakeTupleImpl
<
A
,
`
${
N
}
`
,
[
]
>
,
A
]
;
typeName
:
string
;
}
,
>
,
>
,
)
:
Type
<
MinLengthTuple
<
N
,
A
>
>
Type Parameters
N
extends
StructuralPrefixLength
A
Parameters
size
:
N
elementType
:
Type
<
A
>
Optional
options
:
Partial
<
Readonly
<
{
defaultValue
:
readonly
[
MakeTupleImpl
<
A
,
`
${
N
}
`
,
[
]
>
,
A
]
;
typeName
:
string
;
}
,
>
,
>
Returns
Type
<
MinLengthTuple
<
N
,
A
>
>
minLengthTuple
<
A
>
(
size
:
number
,
elementType
:
Type
<
A
>
,
options
?:
Partial
<
Readonly
<
{
defaultValue
:
readonly
A
[]
;
typeName
:
string
}
>
,
>
,
)
:
Type
<
readonly
A
[]
>
Type Parameters
A
Parameters
size
:
number
elementType
:
Type
<
A
>
Optional
options
:
Partial
<
Readonly
<
{
defaultValue
:
readonly
A
[]
;
typeName
:
string
}
>
>
Returns
Type
<
readonly
A
[]
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ts-fortress
Loading...