mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
type converters, use namespace for DocumentHighlight
This commit is contained in:
@@ -327,7 +327,7 @@ export class ExtHostApiCommands {
|
||||
position: position && typeConverters.Position.from(position)
|
||||
};
|
||||
return this._commands.executeCommand<modes.DocumentHighlight[]>('_executeDocumentHighlights', args)
|
||||
.then(tryMapWith(typeConverters.toDocumentHighlight));
|
||||
.then(tryMapWith(typeConverters.DocumentHighlight.to));
|
||||
}
|
||||
|
||||
private _executeReferenceProvider(resource: URI, position: types.Position): Thenable<types.Location[]> {
|
||||
|
||||
Reference in New Issue
Block a user