diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 6e77ba20c..c46027751 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -887,7 +887,9 @@ export interface EndpointOutput { body: Body; } -export type APIRoute = (context: APIContext) => EndpointOutput | Response | Promise; +export type APIRoute = ( + context: APIContext +) => EndpointOutput | Response | Promise; export interface EndpointHandler { [method: string]: APIRoute | ((params: Params, request: Request) => EndpointOutput | Response);