We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2b4378d + e9226af commit 3fe546bCopy full SHA for 3fe546b
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