export type Entry = { id: string; title: string; costCents?: number };
export function describe(entry: Entry): string {
  return `${entry.title}: ${(entry.costCents ?? 0) / 100} EUR`;
}
console.log(describe({ id: 'e1', title: 'Roof', costCents: 12990 }));
