wrap host.getCanonicalFileName in arrow function
This commit is contained in:
parent
45cf145fe8
commit
6658e0fc58
|
@ -152,7 +152,7 @@ module ts {
|
|||
let start = new Date().getTime();
|
||||
|
||||
host = host || createCompilerHost(options);
|
||||
let filesByName = createFileMap<SourceFile>(host.getCanonicalFileName);
|
||||
let filesByName = createFileMap<SourceFile>(fileName => host.getCanonicalFileName(fileName));
|
||||
|
||||
forEach(rootNames, name => processRootFile(name, /*isDefaultLib:*/ false));
|
||||
if (!skipDefaultLib) {
|
||||
|
|
Loading…
Reference in a new issue