Skip to content

Commit

Permalink
types: Explicit boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Dec 23, 2024
1 parent 3c2dacc commit 938e0ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/wilderness-warbands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 938e0ad

Please sign in to comment.