Skip to content

Commit

Permalink
Revert "Use non-conflicting naming"
Browse files Browse the repository at this point in the history
This reverts commit c71c4e6.
  • Loading branch information
knpwrs committed Jun 30, 2023
1 parent c71c4e6 commit ff9783e
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 @@ -1772,8 +1772,8 @@ export interface EndpointOutput {
encoding?: BufferEncoding;
}

export type APIRoute<RouteProps extends Props = Props> = (
context: APIContext<RouteProps>
export type APIRoute<Props extends Record<string, any> = Record<string, any>> = (
context: APIContext<Props>
) => EndpointOutput | Response | Promise<EndpointOutput | Response>;

export interface EndpointHandler {
Expand Down

0 comments on commit ff9783e

Please sign in to comment.