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:
Đỗ Trọng Hải
2025-01-29 18:40:33 +07:00
committed by GitHub
parent a21f184058
commit 19e8a7049b
141 changed files with 1095 additions and 572 deletions

View File

@@ -649,9 +649,11 @@ const config: ControlPanelConfig = {
(colname: string, index: number) =>
coltypes[index] === GenericDataType.Numeric,
)
.map(colname => ({
.map((colname: string) => ({
value: colname,
label: verboseMap[colname] ?? colname,
label: Array.isArray(verboseMap)
? colname
: verboseMap[colname],
}))
: [];
const columnOptions = explore?.controls?.time_compare?.value