johanneswuerbach / backstage-plugin-techdocs-addon-mermaid

Backstage TechDocs Mermaid Addon
MIT License
43 stars 18 forks source link

MermaidProps not being exported correctly #8

Closed dmckernanacv closed 2 years ago

dmckernanacv commented 2 years ago

Not sure what needs to be updated, but the compiled index.d.ts in the dist folder does not contain the MermaidProps type from props.ts but instead an empty object, possibly because all properties are optional?

index.d.ts

import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';

/**
 * @public
 */
declare type MermaidProps = {};

/**
 * The TechDocs addons mermaid plugin
 *
 * @public
 */
declare const techdocsAddonMermaidPlugin: _backstage_core_plugin_api.BackstagePlugin<{}, {}>;
/**
 * TechDocs addon that lets you render Mermaid diagrams
 *
 * @public
 */
declare const Mermaid: (props: MermaidProps) => JSX.Element | null;

export { Mermaid, MermaidProps, techdocsAddonMermaidPlugin };