Diagnostic
Represents a diagnostic, such as a compiler error or warning. Diagnostic objects are only valid in the scope of a file.
Properties
Link copied to clipboard
                  An array of related diagnostic information, e.g. when symbol-names within a scope collide all definitions can be marked via this property.
Link copied to clipboard
                  The severity, default is error.
Link copied to clipboard
                  Additional metadata about the diagnostic.