acc[addSymbol(name)] = { prefix, body }; .reduce((acc, [prefix, { name, body, alt }]) => { const prefixes = [prefix]; if (alt?.length) { prefixes.push(...alt); } acc[addSymbol(name)] = { prefix: prefixes, body }; return acc; }, {} as VscSnippetDict); };0...