change infoDb db export
This commit is contained in:
parent
f630fba392
commit
689ffbf5a5
|
@ -16,10 +16,8 @@ const clear = (): void => {
|
|||
info = DEFAULT_INFO_DB.info;
|
||||
};
|
||||
|
||||
const db: InfoDB = {
|
||||
export const db: InfoDB = {
|
||||
clear,
|
||||
setInfo,
|
||||
getInfo,
|
||||
};
|
||||
|
||||
export { db };
|
||||
|
|
|
@ -10,7 +10,7 @@ import type { DrawDefinition, HTML, SVG } from '../../diagram-api/types.js';
|
|||
* @param id - The id of the diagram which will be used as a DOM element id.
|
||||
* @param version - MermaidJS version.
|
||||
*/
|
||||
export const draw: DrawDefinition = (text, id, version) => {
|
||||
const draw: DrawDefinition = (text, id, version) => {
|
||||
try {
|
||||
log.debug('rendering info diagram\n' + text);
|
||||
|
||||
|
|
Loading…
Reference in New Issue