Align ExtraInfoSupport with ext host API

This commit is contained in:
Alex Dima
2016-05-18 16:02:06 +02:00
parent 20b2d62e80
commit e1f39a6ead
25 changed files with 524 additions and 119 deletions

View File

@@ -248,7 +248,7 @@ class ExtHostApiCommands {
resource,
position: position && typeConverters.fromPosition(position)
};
return this._commands.executeCommand<modes.IComputeExtraInfoResult[]>('_executeHoverProvider', args).then(value => {
return this._commands.executeCommand<modes.Hover[]>('_executeHoverProvider', args).then(value => {
if (Array.isArray(value)) {
return value.map(typeConverters.toHover);
}