This repository has been archived on 2024-02-26. You can view files and clone it, but cannot push or open issues or pull requests.
cosmos-sql-language-service/index.d.ts

14 lines
528 B
TypeScript

import {editor, Position, CancellationToken, languages} from "monaco-editor";
declare class SqlCompletionItemProvider {
public triggerCharacters: string[];
provideCompletionItems(model: editor.ITextModel, position: Position, context: languages.CompletionContext, token: CancellationToken) : languages.ProviderResult<languages.CompletionList>;
}
declare class ErrorMarkProvider {
public static getErrorMark(input: string): Q.Promise<editor.IMarkerData[]>;
}
export {SqlCompletionItemProvider, ErrorMarkProvider};