mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 16:15:41 +01:00
Support for TypeScript 4.4
This commit is contained in:
parent
64504b9ffb
commit
9524853450
1 changed files with 2 additions and 2 deletions
|
|
@ -333,9 +333,9 @@ export class DiagnosticsAdapter extends Adapter {
|
|||
private _convertRelatedInformation(
|
||||
model: editor.ITextModel,
|
||||
relatedInformation?: DiagnosticRelatedInformation[]
|
||||
): editor.IRelatedInformation[] | undefined {
|
||||
): editor.IRelatedInformation[] {
|
||||
if (!relatedInformation) {
|
||||
return;
|
||||
return [];
|
||||
}
|
||||
|
||||
const result: editor.IRelatedInformation[] = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue