We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35ca82c commit 8a8a412Copy full SHA for 8a8a412
1 file changed
src/compiler/program.ts
@@ -341,7 +341,7 @@ namespace ts {
341
});
342
}
343
344
- function getDeclarationDiagnosticsForFile(sourceFile: SourceFile, cancellationToken: CancellationToken): Diagnostic[] {
+ function getDeclarationDiagnosticsForFile(sourceFile: SourceFile, cancellationToken: CancellationToken): Diagnostic[] {
345
return runWithCancellationToken(() => {
346
if (!isDeclarationFile(sourceFile)) {
347
let resolver = getDiagnosticsProducingTypeChecker().getEmitResolver(sourceFile, cancellationToken);
@@ -350,7 +350,7 @@ namespace ts {
350
return ts.getDeclarationDiagnostics(getEmitHost(writeFile), resolver, sourceFile);
351
352
353
- }
+ }
354
355
function getOptionsDiagnostics(): Diagnostic[] {
356
let allDiagnostics: Diagnostic[] = [];
0 commit comments