self review

This commit is contained in:
Charlie Kolb 2024-11-29 13:05:37 +01:00
parent 005aac7df1
commit 6d21cae39a
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -554,7 +554,7 @@ export function useWorkflowHelpers(options: { router: ReturnType<typeof useRoute
'notes',
'parameters',
'status',
] as const;
];
// @Cleanup: Unify the following lines in a type-safe way, probably with Object.assign() and a filter
// Cast to INodeUi as we're about to provide all required keys

View file

@ -366,7 +366,7 @@ export const useWorkflowsStore = defineStore(STORES.WORKFLOWS, () => {
undefined,
};
},
};
} as unknown as INodeTypes;
return nodeTypes;
}