What does this program print after TypeScript erases its type-only declarations?

from Declaration files
TypeScript 6 beginner 2 min

What does this program print after TypeScript erases its type-only declarations?

TypeScript
interface Invoice {
  id: string;
  total: number;
}

const invoice: Invoice = {
  id: "INV-204",
  total: 19.5,
};

console.log(`${invoice.id}: ${invoice.total.toFixed(2)}`);
Open in playground
Report an error