Skip to content

Type for Request object #1084

Closed Answered by LoicPoullain
text2n asked this question in Q&A
Jun 17, 2022 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Hi @text2n 👋

Can it work if you define a Request type like this in your code?

type Request = Context['request']

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by LoicPoullain
Comment options

You must be logged in to vote
2 replies
@LoicPoullain
Comment options

@text2n
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants