Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Docs for a class couldn't be generated after require statements #795

Closed
@niklauslee

Description

@niklauslee

Successfully generates docs for the following code:

/**
 * A table object
 * @param {number} width
 * @param {number} height
 */
class Table {
  constructor(width, height) {
    this.width = width;
    this.height = height;
  }
}

But, just adding a require statement results that it couldn't generate docs for the Table class.

const _ = require('lodash')

/**
 * A table object
 * @param {number} width
 * @param {number} height
 */
class Table {
  constructor(width, height) {
    this.width = width;
    this.height = height;
  }
}

How can I fix this problem?

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