typescript: update sched.d.ts

pull/3579/head
Rob Pilling 2024-10-03 22:09:35 +01:00
parent 46321d91b7
commit 2517f80754
1 changed files with 2 additions and 0 deletions

View File

@ -103,6 +103,8 @@ declare module Sched {
function setAlarm(id: string, alarm?: NewSched): void;
function resetTimer(alarm: Sched, time?: Date): void;
function getTimeToAlarm(alarm: Sched | undefined | null, time?: Date): number | undefined;
function getTimeToAlarm(alarm?: undefined | null, time?: Date): undefined;