diff --git a/src/services/shims.ts b/src/services/shims.ts index 40ce6c7b8df..c7d293794ca 100644 --- a/src/services/shims.ts +++ b/src/services/shims.ts @@ -502,7 +502,8 @@ module ts { start: diagnostic.start, length: diagnostic.length, /// TODO: no need for the tolowerCase call - category: DiagnosticCategory[diagnostic.category].toLowerCase() + category: DiagnosticCategory[diagnostic.category].toLowerCase(), + code: diagnostic.code }; }