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 };
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