Added missing 'source' property to 'DiagnosticWithLinePosition'.

This commit is contained in:
Daniel Rosenwasser
2020-08-29 00:54:49 +00:00
parent e9b467ae4f
commit a8aa336df8
+1
View File
@@ -511,6 +511,7 @@ namespace ts.server.protocol {
endLocation: Location;
category: string;
code: number;
source?: string;
/** May store more in future. For now, this will simply be `true` to indicate when a diagnostic is an unused-identifier diagnostic. */
reportsUnnecessary?: {};
reportsDeprecated?: {};