mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 13:46:13 +00:00
Fix standard string hovers no longer appearing
This commit is contained in:
parent
f21d6414b5
commit
52e6549965
|
@ -15,7 +15,6 @@ import { ThemeIcon, MarkdownString as MarkdownStringType } from 'vs/workbench/ap
|
|||
import { MarkdownString } from 'vs/workbench/api/common/extHostTypeConverters';
|
||||
import { ExtensionIdentifier } from 'vs/platform/extensions/common/extensions';
|
||||
import { MarshalledId } from 'vs/base/common/marshalling';
|
||||
import { IMarkdownString } from 'vs/base/common/htmlContent';
|
||||
import { isString } from 'vs/base/common/types';
|
||||
|
||||
export interface IExtHostTimeline extends ExtHostTimelineShape {
|
||||
|
@ -146,11 +145,11 @@ export class ExtHostTimeline implements IExtHostTimeline {
|
|||
}
|
||||
}
|
||||
|
||||
let detail: IMarkdownString | string | undefined;
|
||||
let detail;
|
||||
if (MarkdownStringType.isMarkdownString(props.detail)) {
|
||||
detail = MarkdownString.from(props.detail);
|
||||
}
|
||||
else if (isString(detail)) {
|
||||
else if (isString(props.detail)) {
|
||||
detail = props.detail;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue