We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcd1e1f commit 19517acCopy full SHA for 19517ac
src/compiler/program.ts
@@ -87,11 +87,6 @@ module ts {
87
88
export function getPreEmitDiagnostics(program: Program): Diagnostic[] {
89
let diagnostics = program.getSyntacticDiagnostics().concat(program.getGlobalDiagnostics()).concat(program.getSemanticDiagnostics());
90
-
91
- if (program.getCompilerOptions().declaration) {
92
- diagnostics.concat(program.getDeclarationDiagnostics());
93
- }
94
95
return sortAndDeduplicateDiagnostics(diagnostics);
96
}
97
0 commit comments