mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-29 09:02:03 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
parent
dbdb3fe6a1
commit
d520d347f2
@ -1,6 +1,5 @@
|
||||
import { useNuxtApp } from './nuxt'
|
||||
|
||||
|
||||
export function toArray<T> (value: T | T[]): T[] {
|
||||
return Array.isArray(value) ? value : [value]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user