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
+3 -6
View File
@@ -1,10 +1,7 @@
import { devWarn } from '@reactflow/utils';
import { ConnectionMode, type CoordinateExtent, type ReactFlowStore } from '@reactflow/system';
import { devWarn, infiniteExtent } from '@reactflow/utils';
import { ConnectionMode } from '@reactflow/system';
export const infiniteExtent: CoordinateExtent = [
[Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY],
[Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY],
];
import type { ReactFlowStore } from '../types';
const initialState: ReactFlowStore = {
rfId: '1',