Ignore type warning on log message
This commit is contained in:
parent
14b5fb6460
commit
c745de5a2c
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue