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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user