xdash / PositiveNumber
Type alias: PositiveNumber<N, Accumulator>
PositiveNumber<
N
,Accumulator
>:Accumulator
["length"
] extendsN
?Accumulator
[number
] :PositiveNumber
<N
, [Accumulator
["length"
],...Accumulator
]>
Type parameters
• N extends number
• Accumulator extends number
[] = []