Skip to content
Extraits de code Groupes Projets
Valider c00f3099 rédigé par Andrew Ferrazzutti's avatar Andrew Ferrazzutti
Parcourir les fichiers

appservicemock.ts: Satisfy linter

parent bfd6bbd6
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -167,7 +167,7 @@ class IntentMock extends AppserviceMockBase {
this.funcCalled("sendText", roomId, body);
}
public sendEvent(roomId: string, content: any) {
public sendEvent(roomId: string, content: Record<string, unknown>) {
this.funcCalled("sendEvent", roomId, content);
}
......@@ -218,7 +218,7 @@ class MatrixClientMock extends AppserviceMockBase {
this.funcCalled("kickUser", roomId, userId);
}
public sendStateEvent(roomId: string, type: string, stateKey: string, content: {}) {
public sendStateEvent(roomId: string, type: string, stateKey: string, content: Record<string, unknown>) {
this.funcCalled("sendStateEvent", roomId, type, stateKey, content);
}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter