We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bb739f commit e9226afCopy full SHA for e9226af
1 file changed
src/compiler/program.ts
@@ -180,7 +180,7 @@ namespace ts {
180
181
function getEffectiveTypeRoots(options: CompilerOptions, host: ModuleResolutionHost) {
182
return options.typeRoots ||
183
- defaultTypeRoots.map(d => combinePaths(options.configFilePath ? getDirectoryPath(options.configFilePath) : host.getCurrentDirectory(), d));
+ map(defaultTypeRoots, d => combinePaths(options.configFilePath ? getDirectoryPath(options.configFilePath) : host.getCurrentDirectory(), d));
184
}
185
186
/**
0 commit comments