Updated to angular 11
Now compiling with strict mode in typescript Need to error checking now
This commit is contained in:
@ -3,4 +3,10 @@ import { GuestBook } from './guest-book';
|
||||
export class GuestBookList {
|
||||
date: string;
|
||||
list: GuestBook[];
|
||||
|
||||
public constructor(init?: Partial<GuestBookList>) {
|
||||
this.date = '';
|
||||
this.list = [];
|
||||
Object.assign(this, init);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user