From 7fcdce26b2a68137ed70a3ebade1780b9e3d9887 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Fri, 20 Oct 2023 16:23:35 +0100 Subject: [PATCH] fix(schema): accept single string for `extends` (#23795) --- packages/schema/src/config/common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/schema/src/config/common.ts b/packages/schema/src/config/common.ts index 93e5178152..9f934cfb13 100644 --- a/packages/schema/src/config/common.ts +++ b/packages/schema/src/config/common.ts @@ -14,7 +14,7 @@ export default defineUntypedSchema({ * You can use `github:`, `gh:` `gitlab:` or `bitbucket:`. * @see https://github.com/unjs/c12#extending-config-layer-from-remote-sources * @see https://github.com/unjs/giget - * @type {(string|string|[string, typeof import('c12').SourceOptions?])[]} + * @type {string | [string, typeof import('c12').SourceOptions?] | (string | [string, typeof import('c12').SourceOptions?])[]} */ extends: null,