Solución
solution.tsTypeScript
function atLeastOneTrue(firstValue: boolean, secondValue: boolean): boolean {
console.log('Primer valor', firstValue);
if ((firstValue === true) || (secondValue === true)){
return true;
}else{
return false;
}
}
// No modificar: necesario para evaluar el resultado.
export { atLeastOneTrue };0respuestas