Packages > @fluidframework/tree >
ApplyKind
Suitable for output. For input must error on side of excluding undefined instead.
Signature
export type ApplyKind<T, Kind extends FieldKind> = Kind extends FieldKind.Required ? T : undefined | T;
Type Parameters
Parameter | Constraint | Description |
---|---|---|
T | ||
Kind | FieldKind |