From 6fa82944f58b0c512e0b29008dfb2d9ceb82e583 Mon Sep 17 00:00:00 2001 From: Reda Al Sulais Date: Wed, 16 Aug 2023 20:43:48 +0300 Subject: [PATCH] export `DiagramAST` as type --- packages/parser/src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/parser/src/index.ts b/packages/parser/src/index.ts index 3fecb9eac7c..9dded54fa27 100644 --- a/packages/parser/src/index.ts +++ b/packages/parser/src/index.ts @@ -1,2 +1,3 @@ export type { Info } from './language/index.js'; -export { parse, MermaidParseError, DiagramAST } from './parse.js'; +export type { DiagramAST } from './parse.js'; +export { parse, MermaidParseError } from './parse.js';