Improve types (#11239)
This commit is contained in:
parent
44615b2b04
commit
f1534fda79
12 changed files with 35 additions and 42 deletions
|
@ -256,7 +256,7 @@ export default class AddThreepid {
|
|||
} else {
|
||||
await this.matrixClient.addThreePid(
|
||||
{
|
||||
sid: this.sessionId,
|
||||
sid: this.sessionId!,
|
||||
client_secret: this.clientSecret,
|
||||
id_server: getIdServerDomain(this.matrixClient),
|
||||
},
|
||||
|
@ -377,7 +377,7 @@ export default class AddThreepid {
|
|||
} else {
|
||||
await this.matrixClient.addThreePid(
|
||||
{
|
||||
sid: this.sessionId,
|
||||
sid: this.sessionId!,
|
||||
client_secret: this.clientSecret,
|
||||
id_server: getIdServerDomain(this.matrixClient),
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue