mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-22 00:40:22 +02:00
Export more types
This commit is contained in:
@@ -3,7 +3,6 @@
|
|||||||
* functionality and to render the diagrams to svg code!
|
* functionality and to render the diagrams to svg code!
|
||||||
*/
|
*/
|
||||||
import dedent from 'ts-dedent';
|
import dedent from 'ts-dedent';
|
||||||
|
|
||||||
import { MermaidConfig } from './config.type';
|
import { MermaidConfig } from './config.type';
|
||||||
import { log } from './logger';
|
import { log } from './logger';
|
||||||
import utils from './utils';
|
import utils from './utils';
|
||||||
@@ -15,7 +14,14 @@ import type { DetailedError } from './utils';
|
|||||||
import { registerDiagram } from './diagram-api/diagramAPI';
|
import { registerDiagram } from './diagram-api/diagramAPI';
|
||||||
import { ExternalDiagramDefinition } from './diagram-api/types';
|
import { ExternalDiagramDefinition } from './diagram-api/types';
|
||||||
|
|
||||||
export type { MermaidConfig, DetailedError, ExternalDiagramDefinition, ParseErrorFunction };
|
export type {
|
||||||
|
MermaidConfig,
|
||||||
|
DetailedError,
|
||||||
|
ExternalDiagramDefinition,
|
||||||
|
ParseErrorFunction,
|
||||||
|
RenderResult,
|
||||||
|
ParseOptions,
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The options used when running mermaid.
|
* The options used when running mermaid.
|
||||||
|
Reference in New Issue
Block a user