UNPKG

date-fns

Version:

Modern JavaScript date utility library

12 lines (11 loc) 361 B
import type { FirstWeekContainsDateOptions, Locale, LocalizedOptions, WeekOptions, } from "../types.js"; export type DefaultOptions = LocalizedOptions<keyof Locale> & WeekOptions & FirstWeekContainsDateOptions; export declare function getDefaultOptions(): DefaultOptions; export declare function setDefaultOptions(newOptions: DefaultOptions): void;