Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
re-export the promQLLanguage
Browse files Browse the repository at this point in the history
Signed-off-by: Augustin Husson <[email protected]>
  • Loading branch information
Nexucis committed May 20, 2021
1 parent 5804c31 commit b1a0cf5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lang-promql/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
export { PrometheusClient } from './client';
export { CompleteConfiguration, CompleteStrategy } from './complete';
export { LintStrategy } from './lint';
export { PromQLExtension, LanguageType } from './promql';
export { PromQLExtension, LanguageType, promQLLanguage } from './promql';
2 changes: 1 addition & 1 deletion src/lang-promql/promql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export enum LanguageType {
MetricName = 'MetricName',
}

function promQLLanguage(top: LanguageType) {
export function promQLLanguage(top: LanguageType) {
return LezerLanguage.define({
parser: parser.configure({
top: top,
Expand Down

0 comments on commit b1a0cf5

Please sign in to comment.