index.js.flow 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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: Locale