14 lines
528 B
TypeScript
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};
|
|
|