Skip to content

Commit

Permalink
Remove exports for deprecated functions
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed Sep 30, 2024
1 parent dfa6ada commit ff800e4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/sql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,7 @@ export function keywordCompletionSource(dialect: SQLDialect, upperCase = false):
return completeKeywords(dialect.dialect.words, upperCase)
}

/// FIXME remove on 1.0 @internal
export function keywordCompletion(dialect: SQLDialect, upperCase = false): Extension {
function keywordCompletion(dialect: SQLDialect, upperCase = false): Extension {
return dialect.language.data.of({
autocomplete: keywordCompletionSource(dialect, upperCase)
})
Expand All @@ -173,8 +172,7 @@ export function schemaCompletionSource(config: SQLConfig): CompletionSource {
: () => null
}

/// FIXME remove on 1.0 @internal
export function schemaCompletion(config: SQLConfig): Extension {
function schemaCompletion(config: SQLConfig): Extension {
return config.schema ? (config.dialect || StandardSQL).language.data.of({
autocomplete: schemaCompletionSource(config)
}) : []
Expand Down

0 comments on commit ff800e4

Please sign in to comment.