Skip to content

Commit

Permalink
Declare LoadedMail as an interface rather than a type
Browse files Browse the repository at this point in the history
  • Loading branch information
paw-hub committed Jan 17, 2025
1 parent 6f711f6 commit 3fa492c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mail-app/mail/model/MailListModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import { OperationType } from "../../../common/api/common/TutanotaConstants"

assertMainOrNode()

type LoadedMail = {
mail: Mail
mailSetEntry: MailSetEntry
interface LoadedMail {
mail: Readonly<Mail>
mailSetEntry: Readonly<MailSetEntry>
}

/** sort mail set mails in descending order (**reversed**: newest to oldest) according to their receivedDate, not their elementId */
Expand Down

0 comments on commit 3fa492c

Please sign in to comment.