File tree Expand file tree Collapse file tree 3 files changed +24
-25
lines changed Expand file tree Collapse file tree 3 files changed +24
-25
lines changed Original file line number Diff line number Diff line change 38
38
},
39
39
"devDependencies" : {
40
40
"babel-cli" : " ^6.9.0" ,
41
- "babel-eslint" : " ^6 .0.4 " ,
41
+ "babel-eslint" : " ^7 .0.0 " ,
42
42
"babel-jest" : " ^16.0.0" ,
43
43
"babel-plugin-syntax-flow" : " ^6.8.0" ,
44
44
"babel-plugin-transform-flow-strip-types" : " ^6.8.0" ,
47
47
"babel-preset-stage-1" : " ^6.5.0" ,
48
48
"cross-spawn" : " ^4.0.0" ,
49
49
"eslint" : " ^3.2.2" ,
50
- "flow-bin" : " ^0.31 .0" ,
50
+ "flow-bin" : " ^0.33 .0" ,
51
51
"jest" : " ^16.0.1" ,
52
- "jest-cli" : " ^15.1.1" ,
53
52
"rimraf" : " ^2.3.2" ,
54
53
"temp" : " ^0.8.1"
55
54
},
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ exports[`main fixtures processes component "component_1.js" without errors 1`] =
2
2
Object {
3
3
" description" : " The is a component to test the document generation" ,
4
4
" displayName" : " Component" ,
5
- " methods" : Array []
5
+ " methods" : Array [],
6
6
}
7
7
` ;
8
8
@@ -14,30 +14,30 @@ Object {
14
14
Object {
15
15
" docblock" : null ,
16
16
" modifiers" : Array [
17
- " static"
17
+ " static" ,
18
18
],
19
19
" name" : " displayName" ,
20
20
" params" : Array [],
21
- " returns" : null
21
+ " returns" : null ,
22
22
},
23
23
Object {
24
24
" docblock" : null ,
25
25
" modifiers" : Array [
26
- " static"
26
+ " static" ,
27
27
],
28
28
" name" : " defaultProps" ,
29
29
" params" : Array [],
30
- " returns" : null
31
- }
30
+ " returns" : null ,
31
+ },
32
32
],
33
33
" props" : Object {
34
34
" type" : Object {
35
35
" defaultValue" : Object {
36
36
" computed" : false ,
37
- " value" : " \" primary\" "
38
- }
39
- }
40
- }
37
+ " value" : " \" primary\" " ,
38
+ },
39
+ },
40
+ },
41
41
}
42
42
` ;
43
43
@@ -50,10 +50,10 @@ Object {
50
50
" description" : " " ,
51
51
" required" : false ,
52
52
" type" : Object {
53
- " name" : " object"
54
- }
55
- }
56
- }
53
+ " name" : " object" ,
54
+ },
55
+ },
56
+ },
57
57
}
58
58
` ;
59
59
@@ -68,16 +68,16 @@ Object {
68
68
" type" : Object {
69
69
" computed" : true ,
70
70
" name" : " shape" ,
71
- " value" : " Child.propTypes"
72
- }
71
+ " value" : " Child.propTypes" ,
72
+ },
73
73
},
74
74
" something" : Object {
75
75
" description" : " " ,
76
76
" required" : true ,
77
77
" type" : Object {
78
- " name" : " string"
79
- }
80
- }
81
- }
78
+ " name" : " string" ,
79
+ },
80
+ },
81
+ },
82
82
}
83
83
` ;
Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ import doctrine from 'doctrine';
13
13
14
14
type JsDoc = {
15
15
description : ?string ;
16
- params: [ {
16
+ params: Array < {
17
17
name : string ;
18
18
description: ?string ;
19
19
type: ?{ name : string } ;
20
20
optional ? : boolean ;
21
- } ] ;
21
+ } > ;
22
22
returns: ?{
23
23
description: ?string ;
24
24
type: ?{ name : string } ;
You can’t perform that action at this time.
0 commit comments