From 475d6be5b0e2ba6ce7decebfc73ccd6e381d6da4 Mon Sep 17 00:00:00 2001 From: AlexAlexandre Date: Wed, 8 Dec 2021 02:41:40 -0300 Subject: [PATCH] chore: minor tweak --- app/views/RoomView/index.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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;