Updated to angular 11
Now compiling with strict mode in typescript Need to error checking now
This commit is contained in:
@@ -3,6 +3,16 @@ export class ProductSaleReportItem {
|
||||
kot: number;
|
||||
regularBill: number;
|
||||
noCharge: number;
|
||||
staf: number;
|
||||
staff: number;
|
||||
void: number;
|
||||
|
||||
public constructor(init?: Partial<ProductSaleReportItem>) {
|
||||
this.name = '';
|
||||
this.kot = 0;
|
||||
this.regularBill = 0;
|
||||
this.noCharge = 0;
|
||||
this.staff = 0;
|
||||
this.void = 0;
|
||||
Object.assign(this, init);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user