index.js.flow 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. // @flow
  2. // This file is generated automatically by `scripts/build/typings.js`. Please, don't change it.
  3. export type Locale = {
  4. code?: string,
  5. formatDistance?: (...args: Array<any>) => any,
  6. formatRelative?: (...args: Array<any>) => any,
  7. localize?: {
  8. ordinalNumber: (...args: Array<any>) => any,
  9. era: (...args: Array<any>) => any,
  10. quarter: (...args: Array<any>) => any,
  11. month: (...args: Array<any>) => any,
  12. day: (...args: Array<any>) => any,
  13. dayPeriod: (...args: Array<any>) => any,
  14. },
  15. formatLong?: {
  16. date: (...args: Array<any>) => any,
  17. time: (...args: Array<any>) => any,
  18. dateTime: (...args: Array<any>) => any,
  19. },
  20. match?: {
  21. ordinalNumber: (...args: Array<any>) => any,
  22. era: (...args: Array<any>) => any,
  23. quarter: (...args: Array<any>) => any,
  24. month: (...args: Array<any>) => any,
  25. day: (...args: Array<any>) => any,
  26. dayPeriod: (...args: Array<any>) => any,
  27. },
  28. options?: {
  29. weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6,
  30. firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7,
  31. },
  32. }
  33. declare module.exports: {
  34. af: Locale,
  35. ar: Locale,
  36. arDZ: Locale,
  37. arMA: Locale,
  38. arSA: Locale,
  39. az: Locale,
  40. be: Locale,
  41. bg: Locale,
  42. bn: Locale,
  43. ca: Locale,
  44. cs: Locale,
  45. cy: Locale,
  46. da: Locale,
  47. de: Locale,
  48. deAT: Locale,
  49. el: Locale,
  50. enAU: Locale,
  51. enCA: Locale,
  52. enGB: Locale,
  53. enIN: Locale,
  54. enNZ: Locale,
  55. enUS: Locale,
  56. enZA: Locale,
  57. eo: Locale,
  58. es: Locale,
  59. et: Locale,
  60. eu: Locale,
  61. faIR: Locale,
  62. fi: Locale,
  63. fil: Locale,
  64. fr: Locale,
  65. frCA: Locale,
  66. frCH: Locale,
  67. gd: Locale,
  68. gl: Locale,
  69. gu: Locale,
  70. he: Locale,
  71. hi: Locale,
  72. hr: Locale,
  73. ht: Locale,
  74. hu: Locale,
  75. hy: Locale,
  76. id: Locale,
  77. is: Locale,
  78. it: Locale,
  79. ja: Locale,
  80. ka: Locale,
  81. kk: Locale,
  82. kn: Locale,
  83. ko: Locale,
  84. lb: Locale,
  85. lt: Locale,
  86. lv: Locale,
  87. mk: Locale,
  88. mn: Locale,
  89. ms: Locale,
  90. mt: Locale,
  91. nb: Locale,
  92. nl: Locale,
  93. nlBE: Locale,
  94. nn: Locale,
  95. pl: Locale,
  96. pt: Locale,
  97. ptBR: Locale,
  98. ro: Locale,
  99. ru: Locale,
  100. sk: Locale,
  101. sl: Locale,
  102. sq: Locale,
  103. sr: Locale,
  104. srLatn: Locale,
  105. sv: Locale,
  106. ta: Locale,
  107. te: Locale,
  108. th: Locale,
  109. tr: Locale,
  110. ug: Locale,
  111. uk: Locale,
  112. uz: Locale,
  113. vi: Locale,
  114. zhCN: Locale,
  115. zhTW: Locale,
  116. }