Skip to content

Correct @throw display #7

Description

@tomaszdrozdz
/** @function
 * @returns {int}         Amount of  fruits.
 * @throws  {Error}    Only if it is raining. **/
export function give_me_fruits() {}

I can not paste screenshots here as github tells me: <!-- Failed to upload "image.png" -->,
so I will "paint" it here.

Default template generates @return and @throw consistently:

Throws:
Only if it is raining.
Type
    Error 

Returns:
Ammount of fruits.
Type
    int 

but docolatte differs this two in a way it displays them:

Throws:
| Only if it is raining.
|    Type   Error 

Returns:
Ammount of fruits.
|Type:  int 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions