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? |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
In
0.39.2the definition ofgetlooked like that:params:
PathParams:In
1.0.0the definition of get looks like that:params:
PathParamsNow 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?
All reactions