Using this
/**
* Test Class
*/
class myClass {
/**
* @throws {Error} TestError
*/
myFunc2() {
throw new Error('myError');
}
}
I couldn't get the result to include throws
modifying the code,
- throws: this.directData.throws
+ throws: this.directData.exceptions
I could get the expected result
I would also like to add that the return type for this (directData.exceptions / throws) is pretty much the same the returns' (directData.returns) however that gets formatted while throws doesn't, shouldn't it do the same for consistency?
(not requesting any changes since this doesn't seem very active, just wanted to inform)