You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The second parameter of the TypedAxiosInstance post(...), put(...) and patch(...) methods is always optional now. I would expect giving a body argument to be mandatory.
If I want the body to be optional (for whatever reason), I could still define MyObject | undefined in my API body, and give undefined as second argument to the functions.
The text was updated successfully, but these errors were encountered:
The second parameter of the TypedAxiosInstance
post(...)
,put(...)
andpatch(...)
methods is always optional now. I would expect giving a body argument to be mandatory.If I want the body to be optional (for whatever reason), I could still define
MyObject | undefined
in my API body, and giveundefined
as second argument to the functions.The text was updated successfully, but these errors were encountered: