UNPKG

date-fns

Version:

Modern JavaScript date utility library

96 lines (93 loc) 1.59 kB
// @flow // This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. type Locale = { formatDistance: Function, formatRelative: Function, localize: { ordinalNumber: Function, era: Function, quarter: Function, month: Function, day: Function, dayPeriod: Function }, formatLong: Object, date: Function, time: Function, dateTime: Function, match: { ordinalNumber: Function, era: Function, quarter: Function, month: Function, day: Function, dayPeriod: Function }, options?: { weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 } } declare module.exports: { af: Locale, ar: Locale, arDZ: Locale, arSA: Locale, be: Locale, bg: Locale, bn: Locale, ca: Locale, cs: Locale, cy: Locale, da: Locale, de: Locale, el: Locale, enCA: Locale, enGB: Locale, enUS: Locale, eo: Locale, es: Locale, et: Locale, faIR: Locale, fi: Locale, fil: Locale, fr: Locale, frCH: Locale, gl: Locale, gu: Locale, he: Locale, hi: Locale, hr: Locale, hu: Locale, id: Locale, is: Locale, it: Locale, ja: Locale, ka: Locale, ko: Locale, lt: Locale, lv: Locale, mk: Locale, ms: Locale, nb: Locale, nl: Locale, nlBE: Locale, nn: Locale, pl: Locale, pt: Locale, ptBR: Locale, ro: Locale, ru: Locale, sk: Locale, sl: Locale, sr: Locale, sv: Locale, ta: Locale, th: Locale, tr: Locale, ug: Locale, uk: Locale, vi: Locale, zhCN: Locale, zhTW: Locale }