ProducedFields
Type Alias: ProducedFields<F>
Section titled “Type Alias: ProducedFields<F>”type ProducedFields<F> = Simplify<{ [K in Exclude<keyof F, OmitPresenceKeys<F>>]: FieldValue<F[K]> } & { [K in OmitPresenceKeys<F>]?: FieldValue<F[K]> }>;Defined in: src/core/producer.ts:208
The output type of an object built from a fields map. A field whose producer
has presence: "omit" becomes an optional key (key?:); every other
field is a required key. Optional object/oneOf fields are T | null (see
FieldValue). Under exactOptionalPropertyTypes this exactly mirrors
the runtime absence model.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
F |