Skip to content

Commit a8aa336

Browse files
Added missing 'source' property to 'DiagnosticWithLinePosition'.
1 parent e9b467a commit a8aa336

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/server/protocol.ts

+1
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,7 @@ namespace ts.server.protocol {
511511
endLocation: Location;
512512
category: string;
513513
code: number;
514+
source?: string;
514515
/** May store more in future. For now, this will simply be `true` to indicate when a diagnostic is an unused-identifier diagnostic. */
515516
reportsUnnecessary?: {};
516517
reportsDeprecated?: {};

0 commit comments

Comments
 (0)