mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-13 05:37:13 -05:00
CompilerHostLikeForCache rename
This commit is contained in:
@@ -203,7 +203,7 @@ namespace ts {
|
||||
return compilerHost;
|
||||
}
|
||||
|
||||
interface ComplierHostLikeForCache {
|
||||
interface CompilerHostLikeForCache {
|
||||
fileExists(fileName: string): boolean;
|
||||
readFile(fileName: string, encoding?: string): string | undefined;
|
||||
directoryExists?(directory: string): boolean;
|
||||
@@ -213,7 +213,7 @@ namespace ts {
|
||||
|
||||
/*@internal*/
|
||||
export function changeCompilerHostLikeToUseCache(
|
||||
host: ComplierHostLikeForCache,
|
||||
host: CompilerHostLikeForCache,
|
||||
toPath: (fileName: string) => Path,
|
||||
getSourceFile?: CompilerHost["getSourceFile"]
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user