rusackas commented on a change in pull request #17427:
URL: https://github.com/apache/superset/pull/17427#discussion_r749517898
##########
File path: superset-frontend/cypress-base/cypress/utils/parsePostForm.ts
##########
@@ -22,7 +22,7 @@
export default function parsePostForm(requestBody: ArrayBuffer) {
type ParsedFields = Record<string, string[] | string>;
if (requestBody.constructor.name !== 'ArrayBuffer') {
- return (requestBody as unknown) as ParsedFields;
+ return requestBody as unknown as ParsedFields;
Review comment:
Do we still need the "as unknown" here?
--
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]