lint [front]: avoid type hint "any"
This commit is contained in:
parent
7e495ea7cb
commit
c5db518aef
1 changed files with 1 additions and 1 deletions
|
@ -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>({
|
||||
|
|
Loading…
Reference in a new issue