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