diff --git a/app/views/RoomView/index.tsx b/app/views/RoomView/index.tsx index 2c4afe22d..c0b561b45 100644 --- a/app/views/RoomView/index.tsx +++ b/app/views/RoomView/index.tsx @@ -177,9 +177,10 @@ class RoomView extends React.Component { done: (...args: any[]) => any; cancel: () => void; }; - private willBlurListener?: any; // TODO remove this any - private subSubscription?: any; // TODO remove this any - private queryUnreads?: any; // TODO remove this any + + private willBlurListener?: { remove(): void }; + private subSubscription?: { unsubscribe(): void }; + private queryUnreads?: { unsubscribe(): void }; private retryInit: any; private retryInitTimeout?: ReturnType; private retryFindCount: any;