Files
barker/bookie/src/app/beer-sale-report/beer-sale-report.ts
tanshu 6567f560ab Updated to angular 11
Now compiling with strict mode in typescript
Need to error checking now
2020-11-22 10:13:37 +05:30

17 lines
374 B
TypeScript

import { BeerSaleReportItem } from './beer-sale-report-item';
export class BeerSaleReport {
startDate: string;
finishDate: string;
headers: string[];
data: BeerSaleReportItem[];
public constructor(init?: Partial<BeerSaleReport>) {
this.startDate = '';
this.finishDate = '';
this.data = [];
this.headers = [];
Object.assign(this, init);
}
}