diff --git a/.changeset/eleven-shoes-lie.md b/.changeset/eleven-shoes-lie.md new file mode 100644 index 000000000000..e5700e83b7c1 --- /dev/null +++ b/.changeset/eleven-shoes-lie.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fix config types to allow falsy values in integrations list, to match docs diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 334f8c42f12c..58fd77980698 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -679,7 +679,9 @@ export interface AstroUserConfig { * } * ``` */ - integrations?: Array; + integrations?: Array< + AstroIntegration | (AstroIntegration | false | undefined | null)[] | false | undefined | null + >; /** * @docs