0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

[ci] format

This commit is contained in:
matthewp 2022-05-31 14:12:38 +00:00 committed by github-actions[bot]
parent 842ed555d9
commit 5e66ffb3a0

View file

@ -887,7 +887,9 @@ export interface EndpointOutput {
body: Body;
}
export type APIRoute = (context: APIContext) => EndpointOutput | Response | Promise<EndpointOutput | Response>;
export type APIRoute = (
context: APIContext
) => EndpointOutput | Response | Promise<EndpointOutput | Response>;
export interface EndpointHandler {
[method: string]: APIRoute | ((params: Params, request: Request) => EndpointOutput | Response);