Type 'false' is not assignable to type 'true' in getServerSideProps #641
Unanswered
kevinnammour
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There is a weird behavior when it comes to returning different props in getServerSideProps. For simplifying the question, I will give a small example:
Suppose I have this code:
There is a red highlight on the line where I wrote the comment. It's saying this:
Why is that?
Beta Was this translation helpful? Give feedback.
All reactions