Updated to angular 11
Now compiling with strict mode in typescript Need to error checking now
This commit is contained in:
@ -5,4 +5,11 @@ export class SectionPrinter {
|
||||
menuCategory: MenuCategory;
|
||||
printer: Printer;
|
||||
copies: number;
|
||||
|
||||
public constructor(init?: Partial<SectionPrinter>) {
|
||||
this.menuCategory = new MenuCategory();
|
||||
this.printer = new Printer();
|
||||
this.copies = 0;
|
||||
Object.assign(this, init);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user