mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00
Define onRemove() to be async, as it is implemented
This commit is contained in:
parent
2d712be3c0
commit
c2f97825f7
@ -64,7 +64,7 @@ export interface IConnection {
|
||||
* If supported, this is sent when a user attempts to remove the connection from a room. The connection
|
||||
* state should be removed and any resources should be cleaned away.
|
||||
*/
|
||||
onRemove?: () => void;
|
||||
onRemove?: () => Promise<void>;
|
||||
|
||||
toString(): string;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user