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 <gbernal@redhat.com>
This commit is contained in:
Gabriel Bernal 2022-03-18 14:29:35 +01:00 committed by GitHub
parent 8b5eb562b1
commit 9ed56c6065
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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';