When using plugin-msw, if a type is any
and is referenced by the parameter data
of the handler
, we lose all type-check about MSW requests.
I think that when the type of data
is referencing any
, it should be something like object | number | string | boolean
instead. (so the type function
is only used for the callback, and its MSW params).