fix(schema): allow strings in plugin config (#2160)

This commit is contained in:
Tobias Diez 2021-11-29 12:22:00 +01:00 committed by GitHub
parent b7a429ca61
commit c347b6cc8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ export default {
* { src: '~/plugins/server-only.js', mode: 'server' } // only on server side
* ]
* ```
* @type {typeof import('../src/types/nuxt').NuxtPlugin[]}
* @type {(typeof import('../src/types/nuxt').NuxtPlugin | string)[]}
* @version 2
*/
plugins: [],