From 18933edff12e4454cdbb4ffc7f442b6997832748 Mon Sep 17 00:00:00 2001 From: Ricardo Espinoza Date: Fri, 17 May 2024 10:57:14 -0400 Subject: [PATCH] refactor(editor): Fix type errors in `NodeDetailsView.vue` (no-changelog) (#9431) --- .../src/components/NDVDraggablePanels.vue | 2 +- .../src/components/NodeDetailsView.vue | 999 ++++++++++-------- .../editor-ui/src/components/NodeSettings.vue | 2 +- 3 files changed, 557 insertions(+), 446 deletions(-) diff --git a/packages/editor-ui/src/components/NDVDraggablePanels.vue b/packages/editor-ui/src/components/NDVDraggablePanels.vue index 15430fc428be5..a1b5fd3ecd3f3 100644 --- a/packages/editor-ui/src/components/NDVDraggablePanels.vue +++ b/packages/editor-ui/src/components/NDVDraggablePanels.vue @@ -88,7 +88,7 @@ export default defineComponent({ type: Number, }, nodeType: { - type: Object as PropType, + type: Object as PropType, default: () => ({}), }, }, diff --git a/packages/editor-ui/src/components/NodeDetailsView.vue b/packages/editor-ui/src/components/NodeDetailsView.vue index 21ac42f7ff080..7822f32dc9916 100644 --- a/packages/editor-ui/src/components/NodeDetailsView.vue +++ b/packages/editor-ui/src/components/NodeDetailsView.vue @@ -137,19 +137,11 @@ diff --git a/packages/editor-ui/src/components/NodeSettings.vue b/packages/editor-ui/src/components/NodeSettings.vue index a4b23aa966d9c..06cc232faf828 100644 --- a/packages/editor-ui/src/components/NodeSettings.vue +++ b/packages/editor-ui/src/components/NodeSettings.vue @@ -404,7 +404,7 @@ export default defineComponent({ type: String, }, nodeType: { - type: Object as PropType, + type: Object as PropType, }, readOnly: { type: Boolean,