From 3944e9ac009c64176ab91e53f726cf17f8072711 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Tue, 22 Aug 2023 13:36:32 +0530 Subject: [PATCH] chore: Remove circular dependency --- packages/mermaid/src/diagram-api/frontmatter.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/mermaid/src/diagram-api/frontmatter.ts b/packages/mermaid/src/diagram-api/frontmatter.ts index 65e290f930..0fd2917eae 100644 --- a/packages/mermaid/src/diagram-api/frontmatter.ts +++ b/packages/mermaid/src/diagram-api/frontmatter.ts @@ -1,6 +1,6 @@ -import { MermaidConfig } from '../config.type.js'; +import type { MermaidConfig } from '../config.type.js'; import { frontMatterRegex } from './regexes.js'; -import { DiagramDB } from './types.js'; +import type { DiagramDB } from './types.js'; // The "* as yaml" part is necessary for tree-shaking import * as yaml from 'js-yaml';