index.js.flow
2.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
// @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,
}