Skip to content

Commit

Permalink
Move Props
Browse files Browse the repository at this point in the history
  • Loading branch information
knpwrs committed Jun 30, 2023
1 parent ff9783e commit 61af58e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/astro/src/@types/astro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1765,8 +1765,6 @@ export interface APIContext<Props extends Record<string, any> = Record<string, a
locals: App.Locals;
}

export type Props = Record<string, unknown>;

export interface EndpointOutput {
body: Body;
encoding?: BufferEncoding;
Expand All @@ -1780,6 +1778,8 @@ export interface EndpointHandler {
[method: string]: APIRoute | ((params: Params, request: Request) => EndpointOutput | Response);
}

export type Props = Record<string, unknown>;

export interface AstroRenderer {
/** Name of the renderer. */
name: string;
Expand Down

0 comments on commit 61af58e

Please sign in to comment.