make a type more general
This commit is contained in:
parent
fe338b2f3f
commit
0de54d15d4
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ function updateItems() {
|
||||||
if (marker !== null) marker.hidden = hide;
|
if (marker !== null) marker.hidden = hide;
|
||||||
}
|
}
|
||||||
|
|
||||||
function disp(pfx: string, tags: string[]) {
|
function disp(pfx: string, tags: Iterable<string>) {
|
||||||
return [...tags].map(x => pfx + x).join('\u2003'); // em space
|
return [...tags].map(x => pfx + x).join('\u2003'); // em space
|
||||||
}
|
}
|
||||||
let plus = disp('+\u2009', Array.from(reqTags)); // thin space
|
let plus = disp('+\u2009', Array.from(reqTags)); // thin space
|
||||||
|
|
Loading…
Reference in a new issue