File tree Expand file tree Collapse file tree 4 files changed +504
-253
lines changed
src/packages/serializer/test Expand file tree Collapse file tree 4 files changed +504
-253
lines changed Original file line number Diff line number Diff line change
1
+ // @flow
2
+ declare module 'faker' {
3
+ declare interface name {
4
+ static firstName ( ) : string ;
5
+ static lastName ( ) : string ;
6
+ }
7
+
8
+ declare interface image {
9
+ static imageUrl ( ) : string ;
10
+ }
11
+
12
+ declare interface lorem {
13
+ static word ( ) : string ;
14
+ static sentence ( ) : string ;
15
+ static paragraph ( ) : string ;
16
+ static paragraphs ( ) : string ;
17
+ }
18
+
19
+ declare interface random {
20
+ static boolean ( ) : boolean ;
21
+ }
22
+
23
+ declare interface helpers {
24
+ static randomize < T > ( options : Array < T > ) : T ;
25
+ }
26
+
27
+ declare interface internet {
28
+ static email ( ) : string ;
29
+ static password ( length ? : number ) : string ;
30
+ }
31
+ }
Original file line number Diff line number Diff line change 60
60
"codecov" : " 1.0.1" ,
61
61
"documentation" : " 4.0.0-beta9" ,
62
62
"eslint-plugin-flowtype" : " 2.19.0" ,
63
+ "faker" : " 3.1.0" ,
63
64
"flow-bin" : " 0.32.0" ,
64
65
"mocha" : " 3.0.2" ,
65
66
"node-fetch" : " 1.6.1" ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments