diff --git a/.changeset/chilly-pumpkins-fetch.md b/.changeset/chilly-pumpkins-fetch.md new file mode 100644 index 000000000000..f0e5ef55c821 --- /dev/null +++ b/.changeset/chilly-pumpkins-fetch.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fix redirect() typing to allow all redirection status codes. diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 4bbbe996fc77..c27d88b47b40 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -1190,7 +1190,7 @@ interface AstroSharedContext = Record = Record>