Skip to content

Duplicate configuration types #5125

Closed
@dsogari

Description

Description

Currently, some configuration types listed in packages/mermaid/src/config.type.ts appear duplicated (such as XYChartAxisConfig1 and XYChartAxisConfig2). This is caused by an issue on the json-schema-to-typescript package.

I have a fix that resolves this, which I will submit in a new PR soon.

Steps to reproduce

  1. Clone the repo.
  2. Open the packages/mermaid/src/config.type.ts file.
  3. See the duplicated types XYChartAxisConfig1 and XYChartAxisConfig2.

Screenshots

No response

Code Sample

No response

Setup

No response

Suggested Solutions

No response

Additional Context

No response

Metadata

Assignees

No one assigned

    Labels

    Status: TriageNeeds to be verified, categorized, etcType: Bug / ErrorSomething isn't working or is incorrect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions