export default class Model {
_total: { [key: number]: any } = {};
constructor() {
super();
this._total= {
value: 1,
btn: {
add: true,
rem: false
}
};
}
}
_total: { [key: string]: any } = {};
export default class Model {
_total: { [key: string]: any } = {};
constructor() {
super();
this._total['value'] = 1;
this._total['btn'] = {
add: true,
rem: false
};
}
}
class Total {
value: number,
btn: {
add: boolean,
rem: boolean
}
};
export default class Model {
_total: Total;
constructor() {
super();
this._total= new Total {
value: 1,
btn: {
add: true,
rem: false
}
};
}
}