Skip to content

Commit 8a8a412

Browse files
Fix file endings.
1 parent 35ca82c commit 8a8a412

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler/program.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ namespace ts {
341341
});
342342
}
343343

344-
function getDeclarationDiagnosticsForFile(sourceFile: SourceFile, cancellationToken: CancellationToken): Diagnostic[] {
344+
function getDeclarationDiagnosticsForFile(sourceFile: SourceFile, cancellationToken: CancellationToken): Diagnostic[] {
345345
return runWithCancellationToken(() => {
346346
if (!isDeclarationFile(sourceFile)) {
347347
let resolver = getDiagnosticsProducingTypeChecker().getEmitResolver(sourceFile, cancellationToken);
@@ -350,7 +350,7 @@ namespace ts {
350350
return ts.getDeclarationDiagnostics(getEmitHost(writeFile), resolver, sourceFile);
351351
}
352352
});
353-
}
353+
}
354354

355355
function getOptionsDiagnostics(): Diagnostic[] {
356356
let allDiagnostics: Diagnostic[] = [];

0 commit comments

Comments
 (0)