Strict done!!
This commit is contained in:
@ -6,5 +6,13 @@ export class Ledger {
|
||||
startDate: string;
|
||||
finishDate: string;
|
||||
account: Account;
|
||||
body?: LedgerItem[];
|
||||
body: LedgerItem[];
|
||||
|
||||
public constructor(init?: Partial<Ledger>) {
|
||||
this.startDate = '';
|
||||
this.finishDate = '';
|
||||
this.account = new Account();
|
||||
this.body = [];
|
||||
Object.assign(this, init);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user