Type alias PlainMessage<T>

PlainMessage<T>: {
    [P in keyof T as T[P] extends Function
        ? never
        : P]: PlainField<T[P]>
}

PlainMessage strips all methods from a message, leaving only fields and oneof groups. It is recursive, meaning it applies this same logic to all nested message fields as well.

Type Parameters

  • T extends Message<T>

Generated using TypeDoc