1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 01:33:33 +00:00

Switch NodeJS.Timer to NodeJS.Timeout (#6916)

The latest version of types/node had some breaking changes related to Timer and Timeout, #6739. It turns out that we incorrectly used the type Timer when Timeout was expected in a few places. This PR resolves them, in an effort to unblock the @types/node upgrade.
This commit is contained in:
Oscar Hinton
2023-11-23 13:10:23 +01:00
committed by GitHub
parent f2aa0ca65f
commit 59f1a2d022
3 changed files with 3 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ export class WindowMain {
isQuitting = false;
isClosing = false;
private windowStateChangeTimer: NodeJS.Timer;
private windowStateChangeTimer: NodeJS.Timeout;
private windowStates: { [key: string]: WindowState } = {};
private enableAlwaysOnTop = false;
private session: Electron.Session;