Conform more of the codebase with strictNullChecks
(#10703)
This commit is contained in:
parent
db40479910
commit
619a9e8542
24 changed files with 108 additions and 77 deletions
|
@ -118,7 +118,7 @@ export default class IdentityAuthClient {
|
|||
}
|
||||
|
||||
private async checkToken(token: string): Promise<void> {
|
||||
const identityServerUrl = this.matrixClient.getIdentityServerUrl();
|
||||
const identityServerUrl = this.matrixClient.getIdentityServerUrl()!;
|
||||
|
||||
try {
|
||||
await this.matrixClient.getIdentityAccount(token);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue