Type Alias PlainMessage<T>

PlainMessage: {
    [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>
MMNEPVFCICPMFPCPTTAAATR