PartialField<F>: F extends Date | Uint8Array | bigint | boolean | string | number
    ? F
    : F extends (infer U)[]
        ? PartialField<U>[]
        : F extends ReadonlyArray<infer U>
            ? ReadonlyArray<PartialField<U>>
            : F extends Message<infer U>
                ? PartialMessage<U>
                : F extends OneofSelectedMessage<infer C, infer V>
                    ? {
                        case: C;
                        value: PartialMessage<V>;
                    }
                    : F extends {
                            case: string | undefined;
                            value?: unknown;
                        }
                        ? F
                        : F extends {
                                [key: string | number]: Message<infer U>;
                            }
                            ? {
                                [key: string | number]: PartialMessage<U>;
                            }
                            : F

Type Parameters

  • F

Generated using TypeDoc