Updated to angular 11
Now compiling with strict mode in typescript Need to error checking now
This commit is contained in:
@ -3,4 +3,12 @@ export class BillSettlementReportItem {
|
||||
billId: string;
|
||||
amount: number;
|
||||
settlement: string;
|
||||
|
||||
public constructor(init?: Partial<BillSettlementReportItem>) {
|
||||
this.date = '';
|
||||
this.billId = '';
|
||||
this.amount = 0;
|
||||
this.settlement = '';
|
||||
Object.assign(this, init);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user