From 9ed56c6065f2602090553cc3ced90baa4e14e1f9 Mon Sep 17 00:00:00 2001 From: Gabriel Bernal Date: Fri, 18 Mar 2022 14:29:35 +0100 Subject: [PATCH] export newCompleteStrategy to avoid client import errors (#10448) This will avoid codemirror-promql clients to choose manually between cjs or esm so the bundler can decide. Signed-off-by: Gabriel Bernal --- web/ui/module/codemirror-promql/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/ui/module/codemirror-promql/src/index.ts b/web/ui/module/codemirror-promql/src/index.ts index 0849e31a0..742838f40 100644 --- a/web/ui/module/codemirror-promql/src/index.ts +++ b/web/ui/module/codemirror-promql/src/index.ts @@ -12,6 +12,6 @@ // limitations under the License. export { PrometheusClient } from './client'; -export { CompleteConfiguration, CompleteStrategy } from './complete'; +export { CompleteConfiguration, CompleteStrategy, newCompleteStrategy } from './complete'; export { LintStrategy } from './lint'; export { PromQLExtension, LanguageType, promQLLanguage } from './promql';