chore: upgrade node dependencies

This commit is contained in:
Carlos Valente
2024-07-10 14:16:35 +02:00
committed by Carlos Valente
parent 917b182e39
commit 4758bc84b5
14 changed files with 6669 additions and 5405 deletions
+2 -2
View File
@@ -8,12 +8,12 @@ import { timerConfig } from '../config/config.js';
* Service manages Ontime's main timer
*/
export class TimerService {
private readonly _interval: NodeJS.Timer;
private readonly _interval: NodeJS.Timeout;
/** how often we recalculate */
static _refreshInterval: number;
/** when timer will be finished */
private endCallback: NodeJS.Timer;
private endCallback: NodeJS.Timeout;
private onUpdateCallback: (updateResult: UpdateResult) => void;
@@ -8,7 +8,7 @@ export type GetTimeFn = () => number;
export class AuxTimerService {
private timer: SimpleTimer;
private interval: NodeJS.Timer | null = null;
private interval: NodeJS.Timeout | null = null;
private emit: EmitFn;
private getTime: GetTimeFn;
@@ -31,7 +31,7 @@ let currentAuthCode: MaybeString = null;
let currentSheetId: MaybeString = null;
let pollInterval: NodeJS.Timer | null = null;
let pollInterval: NodeJS.Timeout | null = null;
let cleanupTimeout: NodeJS.Timeout | null = null;
function reset() {