index.js.flow 2.15 KB
// @flow
// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it.

export type Locale = {
  code?: string,
  formatDistance?: (...args: Array<any>) => any,
  formatRelative?: (...args: Array<any>) => any,
  localize?: {
    ordinalNumber: (...args: Array<any>) => any,
    era: (...args: Array<any>) => any,
    quarter: (...args: Array<any>) => any,
    month: (...args: Array<any>) => any,
    day: (...args: Array<any>) => any,
    dayPeriod: (...args: Array<any>) => any,
  },
  formatLong?: {
    date: (...args: Array<any>) => any,
    time: (...args: Array<any>) => any,
    dateTime: (...args: Array<any>) => any,
  },
  match?: {
    ordinalNumber: (...args: Array<any>) => any,
    era: (...args: Array<any>) => any,
    quarter: (...args: Array<any>) => any,
    month: (...args: Array<any>) => any,
    day: (...args: Array<any>) => any,
    dayPeriod: (...args: Array<any>) => any,
  },
  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,
  arMA: Locale,
  arSA: Locale,
  az: Locale,
  be: Locale,
  bg: Locale,
  bn: Locale,
  ca: Locale,
  cs: Locale,
  cy: Locale,
  da: Locale,
  de: Locale,
  el: Locale,
  enAU: Locale,
  enCA: Locale,
  enGB: Locale,
  enIN: Locale,
  enNZ: Locale,
  enUS: Locale,
  eo: Locale,
  es: Locale,
  et: Locale,
  eu: Locale,
  faIR: Locale,
  fi: Locale,
  fil: Locale,
  fr: Locale,
  frCA: Locale,
  frCH: Locale,
  gd: Locale,
  gl: Locale,
  gu: Locale,
  he: Locale,
  hi: Locale,
  hr: Locale,
  hu: Locale,
  hy: Locale,
  id: Locale,
  is: Locale,
  it: Locale,
  ja: Locale,
  ka: Locale,
  kk: Locale,
  kn: Locale,
  ko: Locale,
  lb: Locale,
  lt: Locale,
  lv: Locale,
  mk: Locale,
  ms: Locale,
  mt: 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,
  srLatn: Locale,
  sv: Locale,
  ta: Locale,
  te: Locale,
  th: Locale,
  tr: Locale,
  ug: Locale,
  uk: Locale,
  uz: Locale,
  vi: Locale,
  zhCN: Locale,
  zhTW: Locale,
}