function fmtDate(d: Date): string { return d.toISOString(); } function fmtCount(n: number): string { return `${n} items`; } export function App() { const now = new Date(); return (

Header

{fmtDate(now)} {fmtCount(42)}
); }