Skip to content

Commit

Permalink
fix: remove ServerResponse from CompatibilityEvent possibilities
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Apr 6, 2022
1 parent 3ef64d6 commit b285659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export interface H3Event {
params?: Record<string, any>
}

export type CompatibilityEvent = H3Event | IncomingMessage | ServerResponse
export type CompatibilityEvent = H3Event | IncomingMessage

export type _JSONValue<T=string|number|boolean> = T | T[] | Record<string, T>
export type JSONValue = _JSONValue<_JSONValue>
Expand Down

0 comments on commit b285659

Please sign in to comment.