mirror of
https://github.com/apache/superset.git
synced 2026-05-31 21:29:19 +00:00
feat(fe): upgrade superset-frontend to Typescript v5 (#31979)
Signed-off-by: hainenber <dotronghai96@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
This commit is contained in:
@@ -198,7 +198,9 @@ const ContourPopoverControl = ({
|
||||
|
||||
const containsErrors = () => {
|
||||
const keys = Object.keys(validationErrors);
|
||||
return keys.some(key => validationErrors[key].length > 0);
|
||||
return keys.some(
|
||||
key => validationErrors[key as keyof ErrorMapType].length > 0,
|
||||
);
|
||||
};
|
||||
|
||||
const handleSave = () => {
|
||||
|
||||
Reference in New Issue
Block a user