conventions.io

Tech Challenge

2026-09-26

🔷

Daily Tech Challenge

TypeScript

medium
Question 1 of 5

What does the compiler do with the function declaration below?

Example
async function loadName(): string {
  const res = await fetch("/api/me");
  return (await res.json()).name;
}

Saturday, September 26, 2026 · A new challenge drops every day