From 2716e76ba26ca171b0d1589e6aa6937291e69996 Mon Sep 17 00:00:00 2001 From: justin-park Date: Wed, 19 Oct 2022 14:34:20 -0700 Subject: [PATCH] fix: type of AnnotationLayer --- .../superset-ui-core/src/query/types/AnnotationLayer.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/superset-frontend/packages/superset-ui-core/src/query/types/AnnotationLayer.ts b/superset-frontend/packages/superset-ui-core/src/query/types/AnnotationLayer.ts index 6dfe0cfc78c47..bac743cb25c53 100644 --- a/superset-frontend/packages/superset-ui-core/src/query/types/AnnotationLayer.ts +++ b/superset-frontend/packages/superset-ui-core/src/query/types/AnnotationLayer.ts @@ -125,7 +125,8 @@ export type AnnotationLayer = | EventAnnotationLayer | IntervalAnnotationLayer | FormulaAnnotationLayer - | TimeseriesAnnotationLayer; + | TimeseriesAnnotationLayer + | TableAnnotationLayer; export function isFormulaAnnotationLayer( layer: AnnotationLayer,