From 03d04bee98d8deb6f7708c19003480e0e14cc073 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Tue, 16 Jan 2024 23:11:59 +0200 Subject: [PATCH] typing --- src/util/Util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/Util.ts b/src/util/Util.ts index 1691e3b..6b77d55 100644 --- a/src/util/Util.ts +++ b/src/util/Util.ts @@ -407,7 +407,7 @@ export const infoToast = (message: string, timeout = 5000) => return immediateToast('info', { message, position: 'topCenter', timeout }); }; -export const resolveTime = (str: string) => +export const resolveTime = (str: string): number | null => { try {