From 75db025d80fb877e04a4e88e97a1ca72d4ec55d6 Mon Sep 17 00:00:00 2001 From: szewczyw Date: Wed, 5 Feb 2025 15:00:45 +0100 Subject: [PATCH] Added type --- Frontend/src/components/XsltParamComponent.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frontend/src/components/XsltParamComponent.vue b/Frontend/src/components/XsltParamComponent.vue index 4bd93bb..42761b9 100644 --- a/Frontend/src/components/XsltParamComponent.vue +++ b/Frontend/src/components/XsltParamComponent.vue @@ -17,7 +17,7 @@ const nameInput = ref('') const valueInput = ref('') const selectedOption = ref(options.value[0].name) -const isNumeric = (string) => /^[+-]?\d+(\.\d+)?$/.test(string) +const isNumeric = (string : string) => /^[+-]?\d+(\.\d+)?$/.test(string) const selectedFunction = () => { const action = selectOption(selectedOption.value);