fix: prevent instanceof
handler check failures between different MSW versions
#1146
Annotations
45 errors and 8 warnings
typescript (4.9):
src/core/ws/handleWebSocketEvent.ts#L9
Cannot find module '../utils/internal/toRequestHandlersOnly' or its corresponding type declarations.
|
typescript (4.9):
src/core/ws/handleWebSocketEvent.ts#L35
Argument of type '{ event: MessageEvent<WebSocketConnectionData>; parsedResult: WebSocketHandlerParsedResult | Promise<any>; }' is not assignable to parameter of type '{ request: Request; parsedResult: any; resolutionContext?: ResponseResolutionContext | undefined; } & { event: MessageEvent<WebSocketConnectionData>; parsedResult: WebSocketHandlerParsedResult; }'.
|
typescript (4.9):
src/core/ws/handleWebSocketEvent.ts#L37
Argument of type '{ event: MessageEvent<WebSocketConnectionData>; }' is not assignable to parameter of type '{ request: Request; resolutionContext?: ResponseResolutionContext | undefined; } & { event: MessageEvent<WebSocketConnectionData>; }'.
|
typescript (4.9):
src/core/ws/handleWebSocketEvent.ts#L42
Argument of type 'RequestHandler<RequestHandlerDefaultInfo, any, any, RequestHandlerOptions> | WebSocketHandler' is not assignable to parameter of type 'WebSocketHandler'.
|
typescript (4.9)
Process completed with exit code 1.
|
typescript (5.0):
src/core/ws/handleWebSocketEvent.ts#L9
Cannot find module '../utils/internal/toRequestHandlersOnly' or its corresponding type declarations.
|
typescript (5.0):
src/core/ws/handleWebSocketEvent.ts#L35
Argument of type '{ event: MessageEvent<WebSocketConnectionData>; parsedResult: WebSocketHandlerParsedResult | Promise<any>; }' is not assignable to parameter of type '{ request: Request; parsedResult: any; resolutionContext?: ResponseResolutionContext | undefined; } & { event: MessageEvent<WebSocketConnectionData>; parsedResult: WebSocketHandlerParsedResult; }'.
|
typescript (5.0):
src/core/ws/handleWebSocketEvent.ts#L37
Argument of type '{ event: MessageEvent<WebSocketConnectionData>; }' is not assignable to parameter of type '{ request: Request; resolutionContext?: ResponseResolutionContext | undefined; } & { event: MessageEvent<WebSocketConnectionData>; }'.
|
typescript (5.0):
src/core/ws/handleWebSocketEvent.ts#L42
Argument of type 'RequestHandler<RequestHandlerDefaultInfo, any, any, RequestHandlerOptions> | WebSocketHandler' is not assignable to parameter of type 'WebSocketHandler'.
|
typescript (5.0)
Process completed with exit code 1.
|
exports:
src/core/ws/handleWebSocketEvent.ts#L9
Cannot find module '../utils/internal/toRequestHandlersOnly' or its corresponding type declarations.
|
exports:
src/core/ws/handleWebSocketEvent.ts#L35
Argument of type '{ event: MessageEvent<WebSocketConnectionData>; parsedResult: WebSocketHandlerParsedResult | Promise<any>; }' is not assignable to parameter of type '{ request: Request; parsedResult: any; resolutionContext?: ResponseResolutionContext | undefined; } & { event: MessageEvent<WebSocketConnectionData>; parsedResult: WebSocketHandlerParsedResult; }'.
|
exports:
src/core/ws/handleWebSocketEvent.ts#L37
Argument of type '{ event: MessageEvent<WebSocketConnectionData>; }' is not assignable to parameter of type '{ request: Request; resolutionContext?: ResponseResolutionContext | undefined; } & { event: MessageEvent<WebSocketConnectionData>; }'.
|
exports:
src/core/ws/handleWebSocketEvent.ts#L42
Argument of type 'RequestHandler<RequestHandlerDefaultInfo, any, any, RequestHandlerOptions> | WebSocketHandler' is not assignable to parameter of type 'WebSocketHandler'.
|
exports
Process completed with exit code 1.
|
typescript (4.8):
src/core/ws/handleWebSocketEvent.ts#L9
Cannot find module '../utils/internal/toRequestHandlersOnly' or its corresponding type declarations.
|
typescript (4.8):
src/core/ws/handleWebSocketEvent.ts#L35
Argument of type '{ event: MessageEvent<WebSocketConnectionData>; parsedResult: WebSocketHandlerParsedResult | Promise<any>; }' is not assignable to parameter of type '{ request: Request; parsedResult: any; resolutionContext?: ResponseResolutionContext | undefined; } & { event: MessageEvent<WebSocketConnectionData>; parsedResult: WebSocketHandlerParsedResult; }'.
|
typescript (4.8):
src/core/ws/handleWebSocketEvent.ts#L37
Argument of type '{ event: MessageEvent<WebSocketConnectionData>; }' is not assignable to parameter of type '{ request: Request; resolutionContext?: ResponseResolutionContext | undefined; } & { event: MessageEvent<WebSocketConnectionData>; }'.
|
typescript (4.8):
src/core/ws/handleWebSocketEvent.ts#L42
Argument of type 'RequestHandler<RequestHandlerDefaultInfo, any, any, RequestHandlerOptions> | WebSocketHandler' is not assignable to parameter of type 'WebSocketHandler'.
|
typescript (4.8)
Process completed with exit code 1.
|
typescript (5.2):
src/core/ws/handleWebSocketEvent.ts#L9
Cannot find module '../utils/internal/toRequestHandlersOnly' or its corresponding type declarations.
|
typescript (5.2):
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; }'.
|
typescript (5.2):
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; }'.
|
typescript (5.2):
src/core/ws/handleWebSocketEvent.ts#L42
Argument of type 'RequestHandler<RequestHandlerDefaultInfo, any, any, RequestHandlerOptions> | WebSocketHandler' is not assignable to parameter of type 'WebSocketHandler'.
|
typescript (5.2)
Process completed with exit code 1.
|
typescript (5.3):
src/core/ws/handleWebSocketEvent.ts#L9
Cannot find module '../utils/internal/toRequestHandlersOnly' or its corresponding type declarations.
|
typescript (5.3):
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; }'.
|
typescript (5.3):
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; }'.
|
typescript (5.3):
src/core/ws/handleWebSocketEvent.ts#L42
Argument of type 'RequestHandler<RequestHandlerDefaultInfo, any, any, RequestHandlerOptions> | WebSocketHandler' is not assignable to parameter of type 'WebSocketHandler'.
|
typescript (5.3)
Process completed with exit code 1.
|
typescript (5.1):
src/core/ws/handleWebSocketEvent.ts#L9
Cannot find module '../utils/internal/toRequestHandlersOnly' or its corresponding type declarations.
|
typescript (5.1):
src/core/ws/handleWebSocketEvent.ts#L35
Argument of type '{ event: MessageEvent<WebSocketConnectionData>; parsedResult: WebSocketHandlerParsedResult | Promise<any>; }' is not assignable to parameter of type '{ request: Request; parsedResult: any; resolutionContext?: ResponseResolutionContext | undefined; } & { event: MessageEvent<WebSocketConnectionData>; parsedResult: WebSocketHandlerParsedResult; }'.
|
typescript (5.1):
src/core/ws/handleWebSocketEvent.ts#L37
Argument of type '{ event: MessageEvent<WebSocketConnectionData>; }' is not assignable to parameter of type '{ request: Request; resolutionContext?: ResponseResolutionContext | undefined; } & { event: MessageEvent<WebSocketConnectionData>; }'.
|
typescript (5.1):
src/core/ws/handleWebSocketEvent.ts#L42
Argument of type 'RequestHandler<RequestHandlerDefaultInfo, any, any, RequestHandlerOptions> | WebSocketHandler' is not assignable to parameter of type 'WebSocketHandler'.
|
typescript (5.1)
Process completed with exit code 1.
|
typescript (5.4):
src/core/ws/handleWebSocketEvent.ts#L9
Cannot find module '../utils/internal/toRequestHandlersOnly' or its corresponding type declarations.
|
typescript (5.4):
src/core/ws/handleWebSocketEvent.ts#L35
Argument of type '{ event: MessageEvent<WebSocketConnectionData>; parsedResult: WebSocketHandlerParsedResult | Promise<any>; }' is not assignable to parameter of type '{ request: Request; parsedResult: any; resolutionContext?: ResponseResolutionContext | undefined; } & { event: MessageEvent<WebSocketConnectionData>; parsedResult: WebSocketHandlerParsedResult; }'.
|
typescript (5.4):
src/core/ws/handleWebSocketEvent.ts#L37
Argument of type '{ event: MessageEvent<WebSocketConnectionData>; }' is not assignable to parameter of type '{ request: Request; resolutionContext?: ResponseResolutionContext | undefined; } & { event: MessageEvent<WebSocketConnectionData>; }'.
|
typescript (5.4):
src/core/ws/handleWebSocketEvent.ts#L42
Argument of type 'RequestHandler<RequestHandlerDefaultInfo, any, any, RequestHandlerOptions> | WebSocketHandler' is not assignable to parameter of type 'WebSocketHandler'.
|
typescript (5.4)
Process completed with exit code 1.
|
typescript (5.5):
src/core/ws/handleWebSocketEvent.ts#L9
Cannot find module '../utils/internal/toRequestHandlersOnly' or its corresponding type declarations.
|
typescript (5.5):
src/core/ws/handleWebSocketEvent.ts#L35
Argument of type '{ event: MessageEvent<WebSocketConnectionData>; parsedResult: WebSocketHandlerParsedResult | Promise<any>; }' is not assignable to parameter of type '{ request: Request; parsedResult: any; resolutionContext?: ResponseResolutionContext | undefined; } & { event: MessageEvent<WebSocketConnectionData>; parsedResult: WebSocketHandlerParsedResult; }'.
|
typescript (5.5):
src/core/ws/handleWebSocketEvent.ts#L37
Argument of type '{ event: MessageEvent<WebSocketConnectionData>; }' is not assignable to parameter of type '{ request: Request; resolutionContext?: ResponseResolutionContext | undefined; } & { event: MessageEvent<WebSocketConnectionData>; }'.
|
typescript (5.5):
src/core/ws/handleWebSocketEvent.ts#L42
Argument of type 'RequestHandler<RequestHandlerDefaultInfo, any, any, RequestHandlerOptions> | WebSocketHandler' is not assignable to parameter of type 'WebSocketHandler'.
|
typescript (5.5)
Process completed with exit code 1.
|
typescript (4.9)
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/
|
typescript (5.0)
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/
|
typescript (4.8)
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/
|
typescript (5.2)
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/
|
typescript (5.3)
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/
|
typescript (5.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/
|
typescript (5.4)
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/
|
typescript (5.5)
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/
|