Allow for undefined return from TypeCheckerHost.getSourceFile to correspond with implementation

This commit is contained in:
uniqueiniquity 2017-12-06 14:40:59 -08:00
parent 30da23fa77
commit 1fc6675a29

View File

@ -2736,7 +2736,7 @@ namespace ts {
getCompilerOptions(): CompilerOptions;
getSourceFiles(): ReadonlyArray<SourceFile>;
getSourceFile(fileName: string): SourceFile;
getSourceFile(fileName: string): SourceFile | undefined;
getResolvedTypeReferenceDirectives(): ReadonlyMap<ResolvedTypeReferenceDirective>;
}