Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public columns(columns: IColumnsDescriptor) {
if (!this.proto.actionDescriptor) {
this.proto.actionDescriptor = {};
}
this.proto.actionDescriptor.columns = mapToColumnProtoArray(columns);
return this;
}
public columns(columns: IColumnsDescriptor) {
if (!this.proto.actionDescriptor) {
this.proto.actionDescriptor = {};
}
this.proto.actionDescriptor.columns = mapToColumnProtoArray(columns);
return this;
}
public columns(columns: IColumnsDescriptor) {
if (!this.proto.actionDescriptor) {
this.proto.actionDescriptor = {};
}
this.proto.actionDescriptor.columns = mapToColumnProtoArray(columns);
return this;
}