File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,8 @@ export default function symbolToDoc(symbol: Symbol): ?Doc {
133133
134134 options . abstract = symbol . meta . abstract ;
135135 options . access = symbol . meta . access ;
136+ options . dataType = symbol . meta . dataType ;
137+ options . defaultValue = symbol . meta . defaultValue ;
136138 options . scope = symbol . meta . scope ;
137139 options . loc = symbol . loc ;
138140
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class Example {
2626
2727 expect ( fieldDoc . access ) . to . equal ( "protected" ) ;
2828 expect ( fieldDoc . dataType && fieldDoc . dataType [ 0 ] ) . to . equal ( "boolean" ) ;
29- expect ( fieldDoc . defaultValue ) . to . equal ( " true" ) ;
29+ expect ( fieldDoc . defaultValue ) . to . equal ( true ) ;
3030 expect ( fieldDoc . description ) . to . equal ( "Field description" ) ;
3131 } ) ;
3232} ) ;
You can’t perform that action at this time.
0 commit comments