Skip to content

get endpoint Typescript error with set-cookie header #3754

Answered by ignatiusmb
mikenikles asked this question in Q&A
Discussion options

You must be logged in to vote

It's not a bug because headers will only accept a string type, it won't work with new Response as well. You will need to specify or cast userCookie as a string.

Replies: 1 comment 1 reply

Comment options

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

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