Skip to content

Commit

Permalink
update (unsed) default for H3Event generic
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jul 26, 2023
1 parent 7d1939b commit 0519793
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/event/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ export interface NodeEventContext {
res: NodeServerResponse;
}

// eslint-disable-next-line @typescript-eslint/no-unused-vars
export class H3Event<_Input extends TypedEventInputSignature = any>
implements Pick<FetchEvent, "respondWith">
export class H3Event<
// eslint-disable-next-line @typescript-eslint/no-unused-vars
_Input extends TypedEventInputSignature = TypedEventInputSignature
> implements Pick<FetchEvent, "respondWith">
{
"__is_event__" = true;

Expand Down

0 comments on commit 0519793

Please sign in to comment.