mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
[ci] format
This commit is contained in:
parent
842ed555d9
commit
5e66ffb3a0
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue