yarn msw 0.21.3

latest releases: 2.2.14, 2.3.0-ws.rc-6, 2.3.0-ws.rc-5...
3 years ago

Features

  • Adds support for type annotation of path parameters (#393, #421).
rest.get<RequestType, ResponseType, RequestParamsType>(url, resolver)
  • Validates the value given to the setupWorker/setupServer functions to be a spread list of handlers, not an Array (#400, #402).

Bug fixes

  • Fixes an issue that caused a TypeScript compilation to fail when importing the graphql handler by exporting the GraphQLRequestParsedResult type from the package (#425).

Don't miss a new msw release

NewReleases is sending notifications on new releases.