refactor(react/svelte): cleanup types

This commit is contained in:
moklick
2023-02-28 18:16:51 +01:00
parent dda21e1fd2
commit 63bb2045f4
96 changed files with 899 additions and 847 deletions
+2 -1
View File
@@ -1,9 +1,10 @@
import { useCallback } from 'react';
import { internalsSymbol, type ReactFlowState, type NodeInternals, type Edge } from '@reactflow/system';
import { internalsSymbol } from '@reactflow/system';
import { isNumeric } from '@reactflow/utils';
import { useStore } from '../hooks/useStore';
import { isEdgeVisible } from '../container/EdgeRenderer/utils';
import { type ReactFlowState, type NodeInternals, type Edge } from '../types';
const defaultEdgeTree = [{ level: 0, isMaxLevel: true, edges: [] }];