Merge pull request #8226 from overleaf/ae-remaining-types

[web] Fix remaining strict type checks

GitOrigin-RevId: 69881c37938f88c7ea4a630f362712a804085bc8
This commit is contained in:
ilkin-overleaf
2022-06-01 08:03:29 +00:00
committed by Copybot
parent b48529497d
commit e41315364d
19 changed files with 91 additions and 71 deletions
@@ -202,10 +202,10 @@ describe('UserEmailContext', function () {
'new department'
)
expect(
result.current.state.data.byId['foo@overleaf.com'].affiliation.role
result.current.state.data.byId['foo@overleaf.com'].affiliation!.role
).to.equal('new role')
expect(
result.current.state.data.byId['foo@overleaf.com'].affiliation
result.current.state.data.byId['foo@overleaf.com'].affiliation!
.department
).to.equal('new department')
})