Files
gridpilot.gg/apps/website/lib/formatters/DashboardCountFormatter.ts
2026-01-24 01:07:43 +01:00

14 lines
301 B
TypeScript

/**
* DashboardCountDisplay
*
* Deterministic count formatting for dashboard display.
*/
export class DashboardCountFormatter {
static format(count: number | null | undefined): string {
if (count === null || count === undefined) {
return '0';
}
return count.toString();
}
}