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

throws is always undefined #18

@BenjammingKirby

Description

@BenjammingKirby

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions