Updated to angular 11
Now compiling with strict mode in typescript Need to error checking now
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
export class HeaderFooter {
|
||||
id: string;
|
||||
name: string;
|
||||
text?: string;
|
||||
text: string;
|
||||
|
||||
public constructor(init?: Partial<HeaderFooter>) {
|
||||
this.id = '';
|
||||
this.name = '';
|
||||
this.text = '';
|
||||
Object.assign(this, init);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user