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.
2 parents d4cad48 + 2d60a20 commit 4a643e5Copy full SHA for 4a643e5
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