add comment to explain why set to null in constructor

This commit is contained in:
Moriz Wahl 2022-03-10 16:00:15 +01:00
parent 3436253bbe
commit fae9d91004

View File

@ -15,6 +15,7 @@ export class TransactionLink {
this.createdAt = transactionLink.createdAt
this.validUntil = transactionLink.validUntil
this.showEmail = transactionLink.showEmail
// Type 'Date | null | undefined' is not assignable to type 'Date | null'.
this.deletedAt = null // transactionLink.deletedAt
this.redeemedAt = null // transactionLink.redeemedAt
this.redeemedBy = null // transactionLink.redeemedBy