Dear all,
I have a JS class as below:
export class Product extends Component {
static components = { PTAL };
static template = "sale_product_configurator.product";
static props = {
id: { type: [Number, {value: false}], optional: true },
product_tmpl_id: Number,
display_name: String,
description_sale: [Boolean, String], // backend sends 'false' when there is no description
price: Number,
}
Now I want to inherit and add new items for props, but I do not know how to do.
Help me please.
Thank.