From a8aa336df85d35e82704e003605e196310323eb4 Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Sat, 29 Aug 2020 00:54:49 +0000 Subject: [PATCH] Added missing 'source' property to 'DiagnosticWithLinePosition'. --- src/server/protocol.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/protocol.ts b/src/server/protocol.ts index b288124049e..83f0fad1f45 100644 --- a/src/server/protocol.ts +++ b/src/server/protocol.ts @@ -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?: {};