/** * @module types */ /** * A union type for either the parameterized type `T` or `undefined` -- the opposite of {@link NonOptional}. */ export type Optional = T | undefined; /** * A union type for either the parameterized type `T`, `null`, or `undefined` -- the opposite of * the `NonNullable` builtin conditional type. */ export type Nullable = Optional; /** * A union type for either the parameterized type `T` or an array of `T`. */ export type Many = T | T[];