From ca0e56a23163699b572bc7db50ccc9ecd7aa8a3c Mon Sep 17 00:00:00 2001 From: Walter Rafelsberger Date: Thu, 4 Feb 2021 18:44:31 +0100 Subject: [PATCH] [ML] Fix types. --- .../application/components/vega_chart/vega_chart_view.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/ml/public/application/components/vega_chart/vega_chart_view.tsx b/x-pack/plugins/ml/public/application/components/vega_chart/vega_chart_view.tsx index 55907f9a9a92815..7774def574b696e 100644 --- a/x-pack/plugins/ml/public/application/components/vega_chart/vega_chart_view.tsx +++ b/x-pack/plugins/ml/public/application/components/vega_chart/vega_chart_view.tsx @@ -9,7 +9,7 @@ import React, { useMemo, useEffect, FC } from 'react'; // There is still an issue with Vega Lite's typings with the strict mode Kibana is using. // @ts-ignore -import type { TopLevelSpec } from 'vega-lite/src/spec'; +import type { TopLevelSpec } from 'vega-lite/build-es5/vega-lite'; // There is still an issue with Vega Lite's typings with the strict mode Kibana is using. // @ts-ignore