From b2cbf270adc1399ea84a664e8cd9336fe3e8920e Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Mon, 18 Jun 2018 15:55:43 +0200 Subject: [PATCH] adjust return type signature, #34968 --- .../typescript-language-features/src/features/documentSymbol.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/typescript-language-features/src/features/documentSymbol.ts b/extensions/typescript-language-features/src/features/documentSymbol.ts index 3106fb0f361..476ecf8916d 100644 --- a/extensions/typescript-language-features/src/features/documentSymbol.ts +++ b/extensions/typescript-language-features/src/features/documentSymbol.ts @@ -35,7 +35,7 @@ class TypeScriptDocumentSymbolProvider implements vscode.DocumentSymbolProvider public constructor( private readonly client: ITypeScriptServiceClient) { } - public async provideDocumentSymbols(resource: vscode.TextDocument, token: vscode.CancellationToken): Promise { // todo@joh `any[]` temporary hack to make typescript happy... + public async provideDocumentSymbols(resource: vscode.TextDocument, token: vscode.CancellationToken): Promise { const filepath = this.client.toPath(resource.uri); if (!filepath) { return []; -- GitLab