fix(schema): accept single string for extends (#23795)

This commit is contained in:
Daniel Roe 2023-10-20 16:23:35 +01:00 committed by GitHub
parent 2f7e1c7827
commit 7fcdce26b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,