fix: prevent instanceof
handler check failures between different MSW versions
#1146
Annotations
5 errors and 1 warning
Build:
src/core/ws/handleWebSocketEvent.ts#L9
Cannot find module '../utils/internal/toRequestHandlersOnly' or its corresponding type declarations.
|
Build:
src/core/ws/handleWebSocketEvent.ts#L35
Argument of type '{ event: MessageEvent<WebSocketConnectionData>; parsedResult: Promise<any> | WebSocketHandlerParsedResult; }' is not assignable to parameter of type '{ request: Request; parsedResult: any; resolutionContext?: ResponseResolutionContext | undefined; } & { event: MessageEvent<WebSocketConnectionData>; parsedResult: WebSocketHandlerParsedResult; }'.
|
Build:
src/core/ws/handleWebSocketEvent.ts#L37
Argument of type '{ event: MessageEvent<WebSocketConnectionData>; }' is not assignable to parameter of type '{ event: MessageEvent<WebSocketConnectionData>; } & { request: Request; resolutionContext?: ResponseResolutionContext | undefined; }'.
|
Build:
src/core/ws/handleWebSocketEvent.ts#L42
Argument of type 'RequestHandler<RequestHandlerDefaultInfo, any, any, RequestHandlerOptions> | WebSocketHandler' is not assignable to parameter of type 'WebSocketHandler'.
|
Build
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading