Skip to content

Commit

Permalink
fix some type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ganthern committed Jan 2, 2025
1 parent ac4325f commit 4b52a9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/mail-app/mail/view/MailViewModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ export class MailViewModel {
return this.entityEventsReceivedForLegacy(updates)
}

let importMailStateUpdates = []
let importMailStateUpdates: Array<EntityUpdateData> = []
for (const update of updates) {
if (isUpdateForTypeRef(MailFolderTypeRef, update)) {
// In case labels change trigger a list redraw.
Expand Down
1 change: 1 addition & 0 deletions test/tests/desktop/ApplicationWindowTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ o.spec("ApplicationWindow Test", function () {
desktopFacade: object(),
commonNativeFacade: object(),
sqlCipherFacade: object(),
mailImportFacade: object(),
}
when(remoteBridge.createBridge(anything())).thenReturn(sendingFacades)
return {
Expand Down

0 comments on commit 4b52a9e

Please sign in to comment.