Ignore type warning on log message

This commit is contained in:
Krzysztof Wolski 2022-09-02 16:55:14 +02:00
parent 14b5fb6460
commit c745de5a2c

View file

@ -44,6 +44,7 @@ function eventStateReducer(state: AppBridgeState, event: Events) {
/** /**
* Event comes from API, so always assume it can be something not covered by TS * Event comes from API, so always assume it can be something not covered by TS
*/ */
// eslint-disable-next-line @typescript-eslint/no-explicit-any
console.warn(`Invalid event received: ${(event as any)?.type}`); console.warn(`Invalid event received: ${(event as any)?.type}`);
return state; return state;
} }