atom: fix return type of LinterProvider.lint() (#22904)

This commit is contained in:
smhxx 2018-01-17 11:57:04 -06:00 committed by Wesley Wigham
parent bb6a407de4
commit 2c7e6c4f09

View File

@ -78,5 +78,5 @@ export interface LinterProvider {
scope: "file"|"project";
lintsOnChange: boolean;
grammarScopes: string[];
lint(textEditor: TextEditor): Message[]|void|Promise<Message[]|undefined>;
lint(textEditor: TextEditor): Message[]|null|Promise<Message[]|null>;
}