Strict done!!
This commit is contained in:
@ -1,5 +1,11 @@
|
||||
export class DbFile {
|
||||
id: string;
|
||||
id: string | undefined;
|
||||
resized: string;
|
||||
thumbnail: string;
|
||||
|
||||
public constructor(init?: Partial<DbFile>) {
|
||||
this.resized = '';
|
||||
this.thumbnail = '';
|
||||
Object.assign(this, init);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user