diff --git a/caster-editor/src/components/Menu.vue b/caster-editor/src/components/Menu.vue index c48ac93e..b3e7b430 100644 --- a/caster-editor/src/components/Menu.vue +++ b/caster-editor/src/components/Menu.vue @@ -57,10 +57,9 @@ import MenuTab from "./MenuTabHeader.vue"; import MenuTabEdit from "./MenuTabEdit.vue"; import MenuTabPlay from "./MenuTabPlay.vue"; import DialogExitGraph from "./DialogExitGraph.vue"; +import type { GraphEdit } from "./MenuTabEdit.vue"; -export type GraphMenu = Pick & { - nodes: Array; -}; +export type GraphMenu = Pick & GraphEdit; // Props defineProps<{ diff --git a/caster-editor/src/components/MenuTabEdit.vue b/caster-editor/src/components/MenuTabEdit.vue index 470d6cf7..80186cc5 100644 --- a/caster-editor/src/components/MenuTabEdit.vue +++ b/caster-editor/src/components/MenuTabEdit.vue @@ -21,7 +21,7 @@