From 74350d0b5a0fd2e13fde8aeff3ef16e1bfbf3365 Mon Sep 17 00:00:00 2001 From: Elena Makarova Date: Fri, 8 Nov 2024 09:45:24 +0300 Subject: [PATCH] fix(YQL): explicitely export types --- src/autocomplete/databases/yql/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/autocomplete/databases/yql/index.ts b/src/autocomplete/databases/yql/index.ts index ae573595..a2c5ce18 100644 --- a/src/autocomplete/databases/yql/index.ts +++ b/src/autocomplete/databases/yql/index.ts @@ -2,7 +2,7 @@ import {CursorPosition} from '../../shared/autocomplete-types'; import {yqlAutocompleteData, yqlAutocompleteDataYQ} from './yql-autocomplete'; import {parseQuery, parseQueryWithoutCursor} from '../../shared/autocomplete'; import {separateQueryAndCursor} from '../../shared/parse-query-with-cursor'; -import {YqlAutocompleteResult, YqlTokenizeResult} from './types'; +import {YQLEntity, YqlAutocompleteResult, YqlTokenizeResult} from './types'; import {tokenize} from '../../shared/tokenize'; import {YQLLexer} from './generated/YQLLexer'; import { @@ -11,8 +11,6 @@ import { } from '../../shared/extract-statement-positions-from-query'; import {YQLParser} from './generated/YQLParser'; -export type {YqlAutocompleteResult}; - export function parseYqlQueryWithoutCursor(query: string): Pick { return parseQueryWithoutCursor( yqlAutocompleteData.Lexer, @@ -94,3 +92,5 @@ export function extractYqlStatementPositionsFromQuery( yqlAutocompleteData.getParseTree, ); } + +export type {YqlAutocompleteResult, YqlTokenizeResult, YQLEntity};