bito-code-review[bot] commented on PR #42074: URL: https://github.com/apache/superset/pull/42074#issuecomment-4977043247
<!-- Bito Reply --> The suggestion to replace `Record<string, any>` with a concrete type is correct and aligns with TypeScript best practices to improve type safety. Since the file `superset-frontend/src/features/alerts/hooks/useSlackChannels.ts` is not present in the provided PR diff, I cannot implement the fix directly. Please provide the content of that file or ensure it is included in the PR changes. Once you provide the code, I can help you define an appropriate interface or union type for the Slack channels API parameters. -- 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]
