Skip to content

Commit

Permalink
adjust return type signature, #34968
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Jun 18, 2018
1 parent c1226cf commit b2cbf27
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<any> { // todo@joh `any[]` temporary hack to make typescript happy...
public async provideDocumentSymbols(resource: vscode.TextDocument, token: vscode.CancellationToken): Promise<vscode.DocumentSymbol[] | vscode.SymbolInformation[]> {
const filepath = this.client.toPath(resource.uri);
if (!filepath) {
return [];
Expand Down

0 comments on commit b2cbf27

Please sign in to comment.