fix(schema): support inline module options (#2852)

This commit is contained in:
Daniel Roe 2022-01-21 11:47:13 +00:00 committed by GitHub
parent ae34f470a0
commit ed2d26f1b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -225,7 +225,7 @@ export default {
* function () {}
* ]
* ```
* @type {(typeof import('../src/types/module').NuxtModule | string)[]}
* @type {(typeof import('../src/types/module').NuxtModule | string | [typeof import('../src/types/module').NuxtModule | string, Record<string, any>])[]}
* @version 2
* @version 3
*/
@ -262,7 +262,7 @@ export default {
* decreases the size of `node_modules` in production deployments. Please refer to each
* module's documentation to see if it is recommended to use `modules` or `buildModules`.
*
* @type {(typeof import('../src/types/module').NuxtModule | string)[]}
* @type {(typeof import('../src/types/module').NuxtModule | string | [typeof import('../src/types/module').NuxtModule | string, Record<string, any>])[]}
* @version 2
* @version 3
*/