mirror of
https://github.com/apache/superset.git
synced 2026-08-04 04:52:32 +00:00
chore(frontend): comprehensive TypeScript quality improvements (#37625)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -55,7 +55,7 @@ export function ErrorMessageWithStackTrace({
|
||||
// Check if a custom error message component was registered for this message
|
||||
if (error) {
|
||||
const ErrorMessageComponent = getErrorMessageComponentRegistry().get(
|
||||
// @ts-ignore: plan to modify this part so that all errors in Superset 6.0 are standardized as Superset API error types
|
||||
// @ts-expect-error: plan to modify this part so that all errors in Superset 6.0 are standardized as Superset API error types
|
||||
error.errorType ?? error.error_type,
|
||||
);
|
||||
if (ErrorMessageComponent) {
|
||||
|
||||
Reference in New Issue
Block a user