Type 'StrictResponse<JsonBodyType>' is not assignable to type 'AsyncResponseResolverReturnType<T>' #2306
Labels
bug
Something isn't working
needs:triage
Issues that have not been investigated yet.
scope:browser
Related to MSW running in a browser
Prerequisites
Environment check
msw
versionBrowsers
Chromium (Chrome, Brave, etc.)
Reproduction repository
https://github.com/alvinlal/todo-app-react
Reproduction steps
open test-utils/msw/todo.ts file and see the typescript error thrown from line 15
Current behavior
typescript throwing the below type error for array response types
Expected behavior
there shouldn't be any type errors,
The text was updated successfully, but these errors were encountered: