File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -341,7 +341,7 @@ namespace ts {
341
341
} ) ;
342
342
}
343
343
344
- function getDeclarationDiagnosticsForFile ( sourceFile : SourceFile , cancellationToken : CancellationToken ) : Diagnostic [ ] {
344
+ function getDeclarationDiagnosticsForFile ( sourceFile : SourceFile , cancellationToken : CancellationToken ) : Diagnostic [ ] {
345
345
return runWithCancellationToken ( ( ) => {
346
346
if ( ! isDeclarationFile ( sourceFile ) ) {
347
347
let resolver = getDiagnosticsProducingTypeChecker ( ) . getEmitResolver ( sourceFile , cancellationToken ) ;
@@ -350,7 +350,7 @@ namespace ts {
350
350
return ts . getDeclarationDiagnostics ( getEmitHost ( writeFile ) , resolver , sourceFile ) ;
351
351
}
352
352
} ) ;
353
- }
353
+ }
354
354
355
355
function getOptionsDiagnostics ( ) : Diagnostic [ ] {
356
356
let allDiagnostics : Diagnostic [ ] = [ ] ;
You can’t perform that action at this time.
0 commit comments