Skip to content

Mixin documentation doesn't work #146

Closed
@TrapII

Description

@TrapII

If I generate doc from this simple mixin 🔢

/**
 * Create an serialalizable class.
 * @mixin SerializeMixin
 * @param {*} superclass - The class to mix onto.
 * @return The mixin class.
 * @mixin SerialMixin
 */
const SerialMixin = (superclass) => class extends superclass {
  
  /**
   * Adds a string to the stream
   * @param {string} str - The string to append to the stream
   * @memberof SerialMixin#
   */
  addString(str) {
  }
}

This produce a result where the method names are prefixed with undefined : serialMixin.undefinedaddString(str).
I tried various combination (with lendof, ...) but the bug seems to be there whatever I tried.
The version of the jsdoc-to-markdown is 3.0.2. I also uses the dmd-bitbucket plugin in version 0.1.10.

There is a corresponding issue to this one in the jsdoc repository : here. But seems corrected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions