瀏覽代碼

add import type

reiji-h 1 年之前
父節點
當前提交
a0a1ef69b9
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      apps/app/src/features/mermaid/services/mermaid.ts

+ 2 - 2
apps/app/src/features/mermaid/services/mermaid.ts

@@ -1,6 +1,6 @@
 import type { Schema as SanitizeOption } from 'hast-util-sanitize';
-import { Plugin } from 'unified';
-import { Node } from 'unist';
+import type { Plugin } from 'unified';
+import type { Node } from 'unist';
 import { visit } from 'unist-util-visit';
 
 function rewriteNode(node: Node) {