lint [front]: avoid type hint "any"

This commit is contained in:
Alice 2022-07-13 00:39:33 +02:00
parent 7e495ea7cb
commit c5db518aef

View file

@ -12,7 +12,7 @@ export function useModel<Type>(
return { ...value }
}
} else if (options.type === "array") {
valueToSet = (value: any[]) => [...value]
valueToSet = (value: unknown[]) => [...value]
} else valueToSet = (value) => value
return computed<Type>({