From 938e0ad79e7064c3367a5e49690f5d25bc60aa81 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Mon, 23 Dec 2024 23:53:08 +0000 Subject: [PATCH] types: Explicit boolean --- source/wilderness-warbands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/wilderness-warbands.ts b/source/wilderness-warbands.ts index e8b8766..2f6f5ad 100644 --- a/source/wilderness-warbands.ts +++ b/source/wilderness-warbands.ts @@ -6,7 +6,7 @@ * @returns Whether a Wilderness Warbands camp is set up. * @see {@link https://runescape.wiki/w/Wilderness_Warbands} */ -export function wildernessWarbands(timestamp: number) { +export function wildernessWarbands(timestamp: number): boolean { const date = new Date(timestamp); const start = new Date(date); start.setUTCDate(date.getUTCDate() - ((date.getUTCDay() + 6) % 7));