Argument of type { status: 500 } is not assignable to parameter of type 'HttpResponseInit' #1819
Closed
4 tasks done
Labels
bug
Something isn't working
needs:triage
Issues that have not been investigated yet.
scope:node
Related to MSW running in Node
Prerequisites
Environment check
msw
versionNode.js version
20.6.0
Reproduction repository
https://github.com/benwainwright/rtm-typescript
Reproduction steps
@ts-expect-error
comment on line 34Current behavior
The editor produces a type error.
Expected behavior
No type error. As far as I can see, I'm using this function exactly as described in the documentation, and indeed it seems to work as described at runtime.
The text was updated successfully, but these errors were encountered: