[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2024-06-14 16:24:13 +00:00 committed by GitHub
parent dbdb3fe6a1
commit d520d347f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,5 @@
import { useNuxtApp } from './nuxt' import { useNuxtApp } from './nuxt'
export function toArray<T> (value: T | T[]): T[] { export function toArray<T> (value: T | T[]): T[] {
return Array.isArray(value) ? value : [value] return Array.isArray(value) ? value : [value]
} }