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
475 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);
}
declare class ErrorMarkProvider {
public static getErrorMark(input: string): Q.Promise<editor.IMarkerData[]>;
}
export {SqlCompletionItemProvider, ErrorMarkProvider};