Skip to content

Unknown type undefined #2157

Open
Open
@linjinze999

Description

@linjinze999

Current behavior
Public method: options2 throw error Unknown type undefined

To reproduce

  /**
   * show
   * @public
   * @param options1 options1
   * @param options2 options2
   */
  public show = (options1:{}, options2?: {}) => {
    // pass
  };

Expected behavior

Public method support optional parameters

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