From 597f0534c75f2cd614add435d56d2dbf1cc78c49 Mon Sep 17 00:00:00 2001 From: paultirk Date: Fri, 28 Jun 2024 20:27:55 +0000 Subject: [PATCH] specify types for filter function parameters --- src/components/AccountSelect.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AccountSelect.vue b/src/components/AccountSelect.vue index cee689a..e9871ca 100644 --- a/src/components/AccountSelect.vue +++ b/src/components/AccountSelect.vue @@ -7,7 +7,7 @@ :disabled="!editable" :append-to-body="true" :filter-by=" - (option, label, search: string) => { + (option: Account, label: string, search: string) => { return ( normalizeSearchString([label, option.description].join(' ')).indexOf( normalizeSearchString(search)