TupleInput
Tuple input inference type.
// Create tuple items
const items = [transform(string(), (input) => input.length)];
// Infer items input type
type ItemsInput = TupleInput<typeof items, undefined>; // [string]
// Infer input type with rest
type WithRestInput = TupleInput<typeof items, BooleanSchema>; // [string, ...boolean[]]