refactor: Fix type issues for parameter input components (#9449)

This commit is contained in:
Elias Meire
2024-05-21 15:04:20 +02:00
committed by GitHub
parent cd751e7cc8
commit 711c46f205
36 changed files with 315 additions and 243 deletions

View File

@@ -537,7 +537,7 @@ type Props = {
hint?: string;
inputSize?: InputSize;
eventSource?: string;
expressionEvaluated?: string;
expressionEvaluated: unknown;
documentationUrl?: string;
isAssignment?: boolean;
isReadOnly?: boolean;
@@ -555,7 +555,6 @@ const props = withDefaults(defineProps<Props>(), {
hint: undefined,
inputSize: undefined,
eventSource: undefined,
expressionEvaluated: undefined,
documentationUrl: undefined,
isReadOnly: false,
isAssignment: false,
@@ -1266,7 +1265,7 @@ async function optionSelected(command: string) {
await setFocus();
} else if (command === 'removeExpression') {
let value: NodeParameterValueType = props.expressionEvaluated;
let value = props.expressionEvaluated;
isFocused.value = false;