Added type
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user