Skip to content

Context constructor #910

Answered by yusukebe
AliKaanT asked this question in Q&A
Feb 20, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

The constructor is here:

constructor(req: Request, options?: ContextOptions<E>) {

But basically, the user should not use new to create Context directly.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@joshamaju
Comment options

Answer selected by AliKaanT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants