From 5e182335cf857356067e1758eb403e222b7f651c Mon Sep 17 00:00:00 2001 From: Oscar Lee-Vermeren Date: Sun, 10 Sep 2023 22:42:53 +0000 Subject: [PATCH] fix(types): make `image.service` optional --- .changeset/spotty-tools-rhyme.md | 5 +++++ packages/astro/src/@types/astro.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/spotty-tools-rhyme.md diff --git a/.changeset/spotty-tools-rhyme.md b/.changeset/spotty-tools-rhyme.md new file mode 100644 index 000000000000..a54691a48db6 --- /dev/null +++ b/.changeset/spotty-tools-rhyme.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +fix(types): make `image.service` optional diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index e99077d350fe..9a0cfd7ad9b9 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -996,7 +996,7 @@ export interface AstroUserConfig { * } * ``` */ - service: ImageServiceConfig; + service?: ImageServiceConfig; /** * @docs