UNPKG

286 BTypeScriptView Raw
1/**
2 * Format the week number.
3 *
4 * @defaultValue `weekNumber.toLocaleString()` with a leading zero for single-digit numbers
5 * @group Formatters
6 * @see https://daypicker.dev/docs/translation#custom-formatters
7 */
8export declare function formatWeekNumber(weekNumber: number): string;