export default function add_to_set(a: Set, b: Set | Array) { // @ts-ignore b.forEach(item => { a.add(item); }); }