From ed2d26f1b51158ae90b8a6d7f6dca1f24ea38f67 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Fri, 21 Jan 2022 11:47:13 +0000 Subject: [PATCH] fix(schema): support inline module options (#2852) --- packages/schema/src/config/_common.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/schema/src/config/_common.ts b/packages/schema/src/config/_common.ts index d3fc8ac22e..c483bf012f 100644 --- a/packages/schema/src/config/_common.ts +++ b/packages/schema/src/config/_common.ts @@ -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])[]} * @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])[]} * @version 2 * @version 3 */