npm msw 0.21.3

latest releases: 2.6.0, 2.5.2, 2.5.1...
4 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.