Skip to content

Commit

Permalink
fix: improve typings
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeart committed Jan 31, 2021
1 parent 6976cba commit 3942add
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import {
ReferenceParams,
Location,
ExecuteCommandParams,
TextDocumentChangeEvent,
} from 'vscode-languageserver/node';

import ProjectRoots, { Project, Executors } from './project-roots';
Expand Down Expand Up @@ -395,7 +396,7 @@ export default class Server {
return results;
}

private async onDidChangeContent(change: any) {
private async onDidChangeContent(change: TextDocumentChangeEvent<any>) {
// this.setStatusText('did-change');

const lintResults = await this.templateLinter.lint(change.document);
Expand Down

0 comments on commit 3942add

Please sign in to comment.