(comment)
| 188 | } |
| 189 | |
| 190 | function throwsSection(comment) { |
| 191 | return ( |
| 192 | comment.throws.length > 0 && |
| 193 | u( |
| 194 | 'list', |
| 195 | { ordered: false, spread: false }, |
| 196 | comment.throws.map(returns => |
| 197 | u('listItem', [ |
| 198 | u( |
| 199 | 'paragraph', |
| 200 | [ |
| 201 | u('text', 'Throws '), |
| 202 | u('strong', formatType(returns.type)), |
| 203 | u('text', ' ') |
| 204 | ].concat( |
| 205 | returns.description ? returns.description.children : [] |
| 206 | ) |
| 207 | ) |
| 208 | ]) |
| 209 | ) |
| 210 | ) |
| 211 | ); |
| 212 | } |
| 213 | |
| 214 | function augmentsLink(comment) { |
| 215 | return ( |
no test coverage detected