Remove unused event

This commit is contained in:
Matt Bierner 2022-02-28 13:46:52 -08:00
parent 2fc747419d
commit 6f63577e80
No known key found for this signature in database
GPG key ID: 099C331567E11888

View file

@ -34,16 +34,11 @@ export abstract class TypeScriptBaseCodeLensProvider implements vscode.CodeLensP
command: ''
};
private onDidChangeCodeLensesEmitter = new vscode.EventEmitter<void>();
public constructor(
protected client: ITypeScriptServiceClient,
private cachedResponse: CachedResponse<Proto.NavTreeResponse>
) { }
public get onDidChangeCodeLenses(): vscode.Event<void> {
return this.onDidChangeCodeLensesEmitter.event;
}
async provideCodeLenses(document: vscode.TextDocument, token: vscode.CancellationToken): Promise<ReferencesCodeLens[]> {
const filepath = this.client.toOpenedFilePath(document);