update(types): remove omit elements from flowoptions type

* preserved for backwards compatibility

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-12-20 19:29:52 +01:00
parent 2350d83718
commit 9e06d6e9b5
+1 -1
View File
@@ -19,7 +19,7 @@ import { GraphNode, CoordinateExtent, Node } from './node'
import { D3Selection, D3Zoom, D3ZoomHandler, InitD3ZoomPayload, KeyCode, PanOnScrollMode } from './zoom'
import { FlowHooks } from './hooks'
export interface FlowState extends Omit<FlowOptions, 'elements' | 'id'> {
export interface FlowState extends Omit<FlowOptions, 'id'> {
hooks: FlowHooks
instance?: FlowInstance