(t: TranslateFn, key: string, locale: string, options?: Record<string, unknown>)
| 60 | } |
| 61 | |
| 62 | function agentT(t: TranslateFn, key: string, locale: string, options?: Record<string, unknown>): string { |
| 63 | return t(key, { lng: locale, ...options }) |
| 64 | } |
| 65 | |
| 66 | function formatNullableTimestamp(timestamp: number | null | undefined): string { |
| 67 | return typeof timestamp === 'number' && Number.isFinite(timestamp) ? String(timestamp) : 'null' |
no test coverage detected