Solución
solution.tsTypeScript
export function describe(val: unknown): string {
if (typeof val === "string") return `string: "${val}"`
if (typeof val === "number") return `number: ${val}`
if (typeof val === "boolean") return `boolean: ${val}`
return "otro";
}0respuestas