type signature on fillSets
This commit is contained in:
parent
5c70198e38
commit
b1b0f806d5
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ let itemsByYear: Map<string, Set<HTMLElement>>;
|
||||||
let showSingles = false;
|
let showSingles = false;
|
||||||
|
|
||||||
|
|
||||||
function fillSets() {
|
function fillSets(): [Set<string>, Set<string>] {
|
||||||
function checkedValues(boxes: Boxes) {
|
function checkedValues(boxes: Boxes) {
|
||||||
return new Set(Array.from(boxes).filter(b => b.checked).map(b => b.value));
|
return new Set(Array.from(boxes).filter(b => b.checked).map(b => b.value));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue