Why does the params definition change and why did it stop supporting undefined? #1526
Unanswered
KonradLinkowski
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hey, @KonradLinkowski. Thanks for reporting this. Could you please confirm this is still an issue for you on the latest version of MSW? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In
0.39.2
the definition ofget
looked like that:params:
PathParams
:In
1.0.0
the definition of get looks like that:params:
PathParams
Now params cannot be marked as potentially
undefined
, because it throws a typescript error:But it worked fine before.
Why do query params have to be defined now?
Beta Was this translation helpful? Give feedback.
All reactions