refactor(types): use vite-plugin-import-types

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 8cf22797f5
commit 74c30376a5
10 changed files with 31 additions and 111 deletions
-3
View File
@@ -54,9 +54,6 @@ export interface NodeProps<T = any> extends GraphNode {
__vf: VFInternals
}
export type TranslateExtent = [[number, number], [number, number]]
export type NodeExtent = TranslateExtent
export type NodeDimensionUpdate = {
id: ElementId
nodeElement: HTMLDivElement