Skip to content

Commit e9226af

Browse files
Array#map -> ts.map.
1 parent 7bb739f commit e9226af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/compiler/program.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ namespace ts {
180180

181181
function getEffectiveTypeRoots(options: CompilerOptions, host: ModuleResolutionHost) {
182182
return options.typeRoots ||
183-
defaultTypeRoots.map(d => combinePaths(options.configFilePath ? getDirectoryPath(options.configFilePath) : host.getCurrentDirectory(), d));
183+
map(defaultTypeRoots, d => combinePaths(options.configFilePath ? getDirectoryPath(options.configFilePath) : host.getCurrentDirectory(), d));
184184
}
185185

186186
/**

0 commit comments

Comments
 (0)