Type Alias Output<S>
Output: {
readonly [K in keyof S]: S[K] extends Optional<infer T>
? Option<StandardSchemaV1.InferInput<T>>
: S[K] extends StandardSchemaV1
? StandardSchemaV1.InferInput<S[K]>
: never
}
readonly [K in keyof S]: S[K] extends Optional<infer T>
? Option<StandardSchemaV1.InferInput<T>>
: S[K] extends StandardSchemaV1
? StandardSchemaV1.InferInput<S[K]>
: never
}
Type Parameters
- S extends OutputShape
What a journey's output of the shape
Sreads as: under each key, a value of its type, or anOptionof one for a type wrapped inoptional.