/** @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
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:
but docolatte differs this two in a way it displays them: