|
|
@ -333,9 +333,9 @@ export class DiagnosticsAdapter extends Adapter {
|
|
|
|
private _convertRelatedInformation(
|
|
|
|
private _convertRelatedInformation(
|
|
|
|
model: editor.ITextModel,
|
|
|
|
model: editor.ITextModel,
|
|
|
|
relatedInformation?: DiagnosticRelatedInformation[]
|
|
|
|
relatedInformation?: DiagnosticRelatedInformation[]
|
|
|
|
): editor.IRelatedInformation[] | undefined {
|
|
|
|
): editor.IRelatedInformation[] {
|
|
|
|
if (!relatedInformation) {
|
|
|
|
if (!relatedInformation) {
|
|
|
|
return;
|
|
|
|
return [];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const result: editor.IRelatedInformation[] = [];
|
|
|
|
const result: editor.IRelatedInformation[] = [];
|
|
|
|