mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Add a source property on Diagnostic
This commit is contained in:
1 parent
75cdb47cfa
commit
5d7c75d88d
3 files changed
+13
-4
No files matched your search
@@ -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