ToFlatFormObject<T, Atomic, RawOuter>
ts
type ToFlatFormObject<T, Atomic, RawOuter> = { [K in keyof NonNullable<T>]: ToForm<NonNullable<T>[K], Atomic, RawOuter> };Defined in: types/to-form.type.ts:56
Maps an object type T to a flat object where each property is mapped using ToForm.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
T | - | The object type. |
Atomic | ToFormDefaultAtomic | Atomic types passed directly to controls. |
RawOuter extends boolean | false | Determines wrapping of nested structures. |
Since
1.0.0
Author
Ian Wenneckers