[Dev] Fix typings

This commit is contained in:
Alexander Zinchuk 2023-03-03 16:35:26 +01:00
parent ddc058899e
commit 9573e89463

View File

@ -603,7 +603,7 @@ addActionHandler('afterHangUp', (global): ActionReturnType => {
reestablishMasterToSelf();
});
let notificationInterval: NodeJS.Timeout | undefined;
let notificationInterval: number | undefined;
const NOTIFICATION_INTERVAL = 500;
@ -625,7 +625,7 @@ addActionHandler('onTabFocusChange', (global, actions, payload): ActionReturnTyp
if (isBlurred) {
if (notificationInterval) clearInterval(notificationInterval);
notificationInterval = setInterval(() => {
notificationInterval = window.setInterval(() => {
actions.updatePageTitle({
tabId,
});