Skip to content

Commit

Permalink
fix: Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
finom committed Jul 3, 2024
1 parent b6f6618 commit df8c502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export type _RouteHandler = ((
_options?: _DecoratorOptions;
};

export interface _VovkRequest<BODY = unknown, QUERY extends Record<string, string | string[]> | undefined = undefined>
export interface _VovkRequest<BODY = undefined, QUERY extends Record<string, string | string[]> | undefined = undefined>
extends Omit<NextRequest, 'json' | 'nextUrl'> {
json: () => Promise<BODY>;
nextUrl: Omit<NextRequest['nextUrl'], 'searchParams'> & {
Expand Down

0 comments on commit df8c502

Please sign in to comment.