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