Increment
Type Aliases
Increment
Ƭ Increment<N>: [...Arr<N>, unknown]["length"] & number
Helper type to add one to a number type.
From: https://stackoverflow.com/questions/54243431/typescript-increment-number-type
Type parameters
| Name | Type |
|---|---|
N | extends number |