bito-code-review[bot] commented on PR #41000: URL: https://github.com/apache/superset/pull/41000#issuecomment-4691492156
<!-- Bito Reply --> The review suggestion is correct. Using `any` in TypeScript tests bypasses type safety and violates the project's coding standards. To resolve this, you should define a concrete interface or type that matches the expected structure of the `window` object being tested, rather than casting it to `any`. Since the file `superset-frontend/src/extensions/ExtensionsStartup.test.tsx` was not found in the provided PR diff, I cannot implement the specific fix for you. Please locate the line in that file, define an interface for the `window` property you are accessing, and cast the object to that interface instead of `any`. Would you like me to check the rest of the comments on this PR to see if there are other issues you would like to address? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
