mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-23 00:22:56 +01:00
Adopt monaco-editor-core@0.5.1
This commit is contained in:
parent
a30bf9ceac
commit
876a2de2af
4 changed files with 16 additions and 14 deletions
|
|
@ -288,9 +288,10 @@ export class QuickInfoAdapter extends Adapter implements monaco.languages.HoverP
|
|||
if (!info) {
|
||||
return;
|
||||
}
|
||||
return <monaco.languages.Hover>{
|
||||
let contents = ts.displayPartsToString(info.displayParts);
|
||||
return {
|
||||
range: this._textSpanToRange(resource, info.textSpan),
|
||||
htmlContent: [{ text: ts.displayPartsToString(info.displayParts) }]
|
||||
contents: [contents]
|
||||
};
|
||||
}));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue