mirror of
https://github.com/apache/superset.git
synced 2026-05-11 02:45:46 +00:00
fix: remove unused StringConstructor from return type
Address review feedback from @michael-s-molina: Since the function no longer returns String, remove StringConstructor from the return type and update the misleading test description. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -88,7 +88,7 @@ export function getTooltipTimeFormatter(
|
||||
|
||||
export function getXAxisFormatter(
|
||||
format?: string,
|
||||
): TimeFormatter | StringConstructor | undefined {
|
||||
): TimeFormatter | undefined {
|
||||
if (format === SMART_DATE_ID) {
|
||||
return getSmartDateFormatter();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user