Browse Source

fix import line

Yuki Takei 3 years ago
parent
commit
77e98c68f8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/remark-drawio-plugin/src/utils/global.ts

+ 1 - 1
packages/remark-drawio-plugin/src/utils/global.ts

@@ -1,4 +1,4 @@
-import { IGraphViewer } from '~/interfaces/graph-viewer';
+import { IGraphViewer } from '../interfaces/graph-viewer';
 
 
 export const isGraphViewer = (val: unknown): val is IGraphViewer => {
 export const isGraphViewer = (val: unknown): val is IGraphViewer => {
   return (typeof val === 'function' && 'createViewerForElement' in val && 'processElements' in val);
   return (typeof val === 'function' && 'createViewerForElement' in val && 'processElements' in val);