Merge pull request #723 from 3flex/patch-6

Remove unnecessary explicit any
This commit is contained in:
Niels van Velzen 2024-12-01 10:24:23 +01:00 committed by GitHub
commit e4ac97bf7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -526,7 +526,7 @@ window.castReceiverContext.addCustomMessageListener(
'urn:x-cast:com.connectsdk',
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(evt: any) => {
let data: any = evt.data; // eslint-disable-line @typescript-eslint/no-explicit-any
let data = evt.data;
// Apparently chromium likes to pass it as json, not as object.
// chrome on android works fine