Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.

throws is always undefined #18

Open
BenjammingKirby opened this issue Aug 23, 2021 · 0 comments
Open

throws is always undefined #18

BenjammingKirby opened this issue Aug 23, 2021 · 0 comments

Comments

@BenjammingKirby
Copy link

BenjammingKirby commented Aug 23, 2021

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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant