mirror of https://github.com/grpc/grpc-web.git
remove duplicated has$field$ method for oneof
This commit is contained in:
parent
aadfb92bdb
commit
ffe8e9c903
|
@ -879,9 +879,6 @@ void PrintProtoDtsMessage(Printer *printer, const Descriptor *desc,
|
|||
"index?: number): $js_field_type$;\n");
|
||||
}
|
||||
}
|
||||
if (field->containing_oneof() != nullptr) {
|
||||
printer->Print(vars, "has$js_field_name$(): boolean;\n");
|
||||
}
|
||||
|
||||
printer->Print("\n");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue