File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5719,15 +5719,15 @@ namespace ts {
5719
5719
}
5720
5720
5721
5721
/* @internal */
5722
- export interface SourceFileMapBeEmittedHost {
5722
+ export interface SourceFileMayBeEmittedHost {
5723
5723
getCompilerOptions ( ) : CompilerOptions ;
5724
5724
isSourceFileFromExternalLibrary ( file : SourceFile ) : boolean ;
5725
5725
getResolvedProjectReferenceToRedirect ( fileName : string ) : ResolvedProjectReference | undefined ;
5726
5726
isSourceOfProjectReferenceRedirect ( fileName : string ) : boolean ;
5727
5727
}
5728
5728
5729
5729
/* @internal */
5730
- export interface EmitHost extends ScriptReferenceHost , ModuleSpecifierResolutionHost , SourceFileMapBeEmittedHost {
5730
+ export interface EmitHost extends ScriptReferenceHost , ModuleSpecifierResolutionHost , SourceFileMayBeEmittedHost {
5731
5731
getSourceFiles ( ) : readonly SourceFile [ ] ;
5732
5732
useCaseSensitiveFileNames ( ) : boolean ;
5733
5733
getCurrentDirectory ( ) : string ;
Original file line number Diff line number Diff line change @@ -3679,7 +3679,7 @@ namespace ts {
3679
3679
}
3680
3680
3681
3681
/** Don't call this for `--outFile`, just for `--outDir` or plain emit. `--outFile` needs additional checks. */
3682
- export function sourceFileMayBeEmitted ( sourceFile : SourceFile , host : SourceFileMapBeEmittedHost , forceDtsEmit ?: boolean ) {
3682
+ export function sourceFileMayBeEmitted ( sourceFile : SourceFile , host : SourceFileMayBeEmittedHost , forceDtsEmit ?: boolean ) {
3683
3683
const options = host . getCompilerOptions ( ) ;
3684
3684
return ! ( options . noEmitForJsFiles && isSourceFileJS ( sourceFile ) ) &&
3685
3685
! sourceFile . isDeclarationFile &&
You can’t perform that action at this time.
0 commit comments