From b1b0f806d5196e1433af252860382eb5e0410100 Mon Sep 17 00:00:00 2001 From: rhiannon morris Date: Sun, 7 Jul 2024 20:08:29 +0200 Subject: [PATCH] type signature on fillSets --- script/gallery.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/gallery.ts b/script/gallery.ts index 1d0cd39..b6d043b 100644 --- a/script/gallery.ts +++ b/script/gallery.ts @@ -9,7 +9,7 @@ let itemsByYear: Map>; let showSingles = false; -function fillSets() { +function fillSets(): [Set, Set] { function checkedValues(boxes: Boxes) { return new Set(Array.from(boxes).filter(b => b.checked).map(b => b.value)); }