Updated to angular 11

Now compiling with strict mode in typescript
Need to error checking now
This commit is contained in:
2020-11-22 10:13:37 +05:30
parent cabd6f2ea1
commit 6567f560ab
187 changed files with 1709 additions and 1184 deletions

View File

@ -1,7 +1,7 @@
import { Section } from './section';
export class Device {
id: string;
id: string | undefined;
name: string;
enabled: boolean;
section: Section;
@ -10,6 +10,12 @@ export class Device {
lastDate?: string;
public constructor(init?: Partial<Device>) {
this.id = undefined;
this.name = '';
this.enabled = false;
this.section = new Section();
this.creationDate = '';
this.lastUser = '';
Object.assign(this, init);
}
}