We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85a13b8 commit 2d60a20Copy full SHA for 2d60a20
src/compiler/program.ts
@@ -188,7 +188,7 @@ namespace ts {
188
*/
189
function getDefaultTypeRoots(currentDirectory: string, host: ModuleResolutionHost): string[] | undefined {
190
if (!host.directoryExists) {
191
- return [combinePaths(currentDirectory, "node_modules")];
+ return [combinePaths(currentDirectory, nodeModulesAtTypes)];
192
// And if it doesn't exist, tough.
193
}
194
0 commit comments