From c5db518aefeda75ed9059029d6725f769810d444 Mon Sep 17 00:00:00 2001 From: _aandres Date: Wed, 13 Jul 2022 00:39:33 +0200 Subject: [PATCH] lint [front]: avoid type hint "any" --- front/composables/modelWrapper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/composables/modelWrapper.ts b/front/composables/modelWrapper.ts index 74afa3d..818daf1 100644 --- a/front/composables/modelWrapper.ts +++ b/front/composables/modelWrapper.ts @@ -12,7 +12,7 @@ export function useModel( return { ...value } } } else if (options.type === "array") { - valueToSet = (value: any[]) => [...value] + valueToSet = (value: unknown[]) => [...value] } else valueToSet = (value) => value return computed({