Skip to main content

ApplyKind TypeAlias

Suitable for output. For input must error on side of excluding undefined instead.

This API is reserved for internal system use and should not be imported directly. It may change at any time without notice.

For more information about our API support guarantees, see here.

Signature​

export type ApplyKind<T, Kind extends FieldKind> = {
[FieldKind.Required]: T;
[FieldKind.Optional]: T | undefined;
[FieldKind.Identifier]: T;
}[Kind];

Type Parameters​

ParameterConstraintDescription
T
KindFieldKind