mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-17 00:34:47 -05:00
Add a source property on Diagnostic
This commit is contained in:
@@ -1824,15 +1824,20 @@ namespace ts.server.protocol {
|
||||
*/
|
||||
text: string;
|
||||
|
||||
/**
|
||||
* The category of the diagnostic message, e.g. "error" vs. "warning"
|
||||
*/
|
||||
category: string;
|
||||
|
||||
/**
|
||||
* The error code of the diagnostic message.
|
||||
*/
|
||||
code?: number;
|
||||
|
||||
/**
|
||||
* The category of the diagnostic message, e.g. "error" vs. "warning"
|
||||
* The name of the plugin reporting the message.
|
||||
*/
|
||||
category: string;
|
||||
source?: string;
|
||||
}
|
||||
|
||||
export interface DiagnosticEventBody {
|
||||
|
||||
Reference in New Issue
Block a user