Solución
solution.tsTypeScript
export function swapCase(text: string): string {
let newText = ''
text.split('').forEach(v => {if(v === v.toUpperCase()) v = v.toLowerCase()
else v = v.toUpperCase()
newText += v
})
return newText;
}0respuestas