[Dev] Fix typings
This commit is contained in:
parent
ddc058899e
commit
9573e89463
@ -603,7 +603,7 @@ addActionHandler('afterHangUp', (global): ActionReturnType => {
|
|||||||
reestablishMasterToSelf();
|
reestablishMasterToSelf();
|
||||||
});
|
});
|
||||||
|
|
||||||
let notificationInterval: NodeJS.Timeout | undefined;
|
let notificationInterval: number | undefined;
|
||||||
|
|
||||||
const NOTIFICATION_INTERVAL = 500;
|
const NOTIFICATION_INTERVAL = 500;
|
||||||
|
|
||||||
@ -625,7 +625,7 @@ addActionHandler('onTabFocusChange', (global, actions, payload): ActionReturnTyp
|
|||||||
if (isBlurred) {
|
if (isBlurred) {
|
||||||
if (notificationInterval) clearInterval(notificationInterval);
|
if (notificationInterval) clearInterval(notificationInterval);
|
||||||
|
|
||||||
notificationInterval = setInterval(() => {
|
notificationInterval = window.setInterval(() => {
|
||||||
actions.updatePageTitle({
|
actions.updatePageTitle({
|
||||||
tabId,
|
tabId,
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user