Skip to content

Commit

Permalink
Fixed typing?
Browse files Browse the repository at this point in the history
  • Loading branch information
vin-ni committed Sep 23, 2023
1 parent 47140a4 commit 94226b2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions caster-editor/src/components/Menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,17 @@

<script lang="ts" setup>
import { storeToRefs } from "pinia";
import type { Graph } from "@/graphql";
import type { Graph, Node } from "@/graphql";
import { ref, type Ref } from "vue";
import { Tab, useInterfaceStore } from "@/stores/InterfaceStore";
import MenuTab from "./MenuTabHeader.vue";
import MenuTabEdit from "./MenuTabEdit.vue";
import MenuTabPlay from "./MenuTabPlay.vue";
import DialogExitGraph from "./DialogExitGraph.vue";
export type GraphMenu = Pick<Graph, "name" | "uuid" | "slugName" | "nodes">;
export type GraphMenu = Pick<Graph, "name" | "uuid" | "slugName"> & {
nodes: Array<any>;
};
// Props
defineProps<{
Expand Down

0 comments on commit 94226b2

Please sign in to comment.