This commit is contained in:
Acid Chicken (硫酸鶏) 2019-07-01 23:35:45 +09:00
parent 0c0281d51d
commit f514c1c200
No known key found for this signature in database
GPG key ID: 5388F56C75B677A1

View file

@ -217,7 +217,7 @@ export class Note {
public renoteUserHost: string | null;
//#endregion
constructor(data: Partial<Note>) {
constructor(data?: Partial<Note> | null) {
if (data == null) return;
for (const [k, v] of Object.entries(data)) {