Skip to content

TS2345 error on network.use with the example from the readme #28

@maksnester

Description

@maksnester
TS2345: Argument of type HttpHandler is not assignable to parameter of type
WebSocketHandler | RequestHandler<RequestHandlerDefaultInfo, any, any, RequestHandlerOptions>
Type HttpHandler is not assignable to type
RequestHandler<RequestHandlerDefaultInfo, any, any, RequestHandlerOptions>
Types have separate declarations of a private property __kind
Image

npm ls msw output:

├─┬ [email protected] -> ./tests/e2e-tools
│ └─┬ @msw/[email protected]
│   └── [email protected] deduped
└── [email protected]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions