ts-fortress
Preparing search index...
array/max-length-tuple
maxLengthTuple
Function maxLengthTuple
maxLengthTuple
<
N
extends
StructuralPrefixLength
,
A
>
(
size
:
N
,
elementType
:
Type
<
A
>
,
options
?:
Partial
<
Readonly
<
{
defaultValue
:
MaxLengthTuple
<
N
,
A
>
;
typeName
:
string
}
>
,
>
,
)
:
Type
<
MaxLengthTuple
<
N
,
A
>
>
Type Parameters
N
extends
StructuralPrefixLength
A
Parameters
size
:
N
elementType
:
Type
<
A
>
Optional
options
:
Partial
<
Readonly
<
{
defaultValue
:
MaxLengthTuple
<
N
,
A
>
;
typeName
:
string
}
>
>
Returns
Type
<
MaxLengthTuple
<
N
,
A
>
>
maxLengthTuple
<
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...