From c62be1bb4526b91729c78efb512e23aad1dfac88 Mon Sep 17 00:00:00 2001 From: Reda Al Sulais Date: Sun, 5 Nov 2023 02:08:36 +0300 Subject: [PATCH] export necessary functions and types from `packages/parser` --- packages/parser/src/language/index.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/parser/src/language/index.ts b/packages/parser/src/language/index.ts index 2eea343e22..087bdb6b8d 100644 --- a/packages/parser/src/language/index.ts +++ b/packages/parser/src/language/index.ts @@ -1,4 +1,13 @@ -export { Info, MermaidAstType, Pie, PieSection } from './generated/ast.js'; +export { + Info, + MermaidAstType, + Pie, + PieSection, + isCommon, + isInfo, + isPie, + isPieSection, +} from './generated/ast.js'; export { InfoGeneratedModule, MermaidGeneratedSharedModule,