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 d24b194c8c6d..5c0a19f882a5 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -1187,7 +1187,7 @@ interface AstroSharedContext = Record = Record>