debt - tackle an old todo

This commit is contained in:
Johannes Rieken
2021-03-01 11:23:38 +01:00
parent aacafc75b3
commit 6dc076b5c4
2 changed files with 2 additions and 5 deletions

View File

@@ -162,7 +162,7 @@ const newCommands: ApiCommand[] = [
new ApiCommand(
'vscode.executeDocumentRenameProvider', '_executeDocumentRenameProvider', 'Execute rename provider.',
[ApiCommandArgument.Uri, ApiCommandArgument.Position, ApiCommandArgument.String.with('newName', 'The new symbol name')],
new ApiCommandResult<IWorkspaceEditDto, types.WorkspaceEdit | undefined>('A promise that resolves to a WorkspaceEdit.', value => {
new ApiCommandResult<IWorkspaceEditDto & { rejectReason?: string }, types.WorkspaceEdit | undefined>('A promise that resolves to a WorkspaceEdit.', value => {
if (!value) {
return undefined;
}