update(examples): Add Save & Restore example

* add localforage to dev deps
This commit is contained in:
Braks
2021-10-22 10:00:21 +02:00
parent eb9714b898
commit 3f863ef71c
8 changed files with 135 additions and 7 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import { KeyCode, PanOnScrollMode } from '~/types/panel'
export type ElementId = string
export type FlowElement<T = any> = Partial<Node<T>> | Partial<Edge<T>>
export type FlowElement<T = any> = Node<T> | Edge<T>
export type Elements<T = any> = Array<FlowElement<T>>