Appearance
Make the last element of a tuple optional.
import type { OptionalTupleLast } from '@utype/core' type Tuple = [string, number, boolean]; // Expect: [string, number, boolean?] type OptionalTuple = OptionalTupleLast<Tuple>;