Skip to content

Commit

Permalink
types: remove additional req.xNode and req.xContext types for now
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Dec 5, 2024
1 parent 5e4ec69 commit 64f9083
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,16 +148,8 @@ export interface xRequest extends Omit<Request, "headers" | "clone"> {
headers: xHeaders;
clone(): xRequest;

xNode?: {
req: NodeHttp.IncomingMessage;
res: NodeHttp.ServerResponse;
};

/**
* Remote address of the client.
*/
xRemoteAddress?: string | null;

/** Optional user context */
xContext?: Record<string, unknown>;
}

0 comments on commit 64f9083

Please sign in to comment.