Merge pull request #9240 from Microsoft/mapBeDamned
Array#map -> ts.map.
This commit is contained in:
commit
3fe546b9ea
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ namespace ts {
|
|||
|
||||
function getEffectiveTypeRoots(options: CompilerOptions, host: ModuleResolutionHost) {
|
||||
return options.typeRoots ||
|
||||
defaultTypeRoots.map(d => combinePaths(options.configFilePath ? getDirectoryPath(options.configFilePath) : host.getCurrentDirectory(), d));
|
||||
map(defaultTypeRoots, d => combinePaths(options.configFilePath ? getDirectoryPath(options.configFilePath) : host.getCurrentDirectory(), d));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue