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

This commit is contained in:
uniqueiniquity
2018-01-19 16:23:23 -08:00
parent 30da23fa77
commit 1fc6675a29
+1 -1
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>;
}