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
Raw Normal View History

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