export const addToSet = (target: Set, source: Set) => { for (const item of source) { target.add(item); } };