RelativeIndex
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
This is a mark-up type that is used for properties and arguments that can contain relative index: a zero-based index with added convenience of referencing last spot using index of -1.
export type RelativeIndex = number;