mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-24 17:59:39 +02:00
Test
This commit is contained in:
@@ -311,6 +311,42 @@ const executeQueue = async () => {
|
||||
executionQueueRunning = false;
|
||||
};
|
||||
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(`This should increase size
|
||||
export interface Mermaid {
|
||||
startOnLoad: boolean;
|
||||
parseError?: ParseErrorFunction;
|
||||
mermaidAPI: typeof mermaidAPI;
|
||||
parse: typeof parse;
|
||||
render: typeof render;
|
||||
init: typeof init;
|
||||
run: typeof run;
|
||||
registerExternalDiagrams: typeof registerExternalDiagrams;
|
||||
initialize: typeof initialize;
|
||||
contentLoaded: typeof contentLoaded;
|
||||
setParseErrorHandler: typeof setParseErrorHandler;
|
||||
detectType: typeof detectType;
|
||||
}
|
||||
|
||||
const mermaid: Mermaid = {
|
||||
startOnLoad: true,
|
||||
mermaidAPI,
|
||||
parse,
|
||||
render,
|
||||
init,
|
||||
run,
|
||||
registerExternalDiagrams,
|
||||
initialize,
|
||||
parseError: undefined,
|
||||
contentLoaded,
|
||||
setParseErrorHandler,
|
||||
detectType,
|
||||
};
|
||||
|
||||
export default mermaid;
|
||||
|
||||
`);
|
||||
|
||||
/**
|
||||
* Parse the text and validate the syntax.
|
||||
* @param text - The mermaid diagram definition.
|
||||
|
Reference in New Issue
Block a user