Include *.json in the root files if they are specified as root (#34676)

Fixes #33827
This commit is contained in:
Sheetal Nandi
2019-10-25 13:48:38 -07:00
committed by GitHub
parent a01c8ef764
commit f12eee2e4b
2 changed files with 73 additions and 3 deletions
+1 -3
View File
@@ -953,9 +953,7 @@ namespace ts {
names.push(entry);
}
else {
if (entry.scriptKind !== ScriptKind.JSON) {
names.push(entry.hostFileName);
}
names.push(entry.hostFileName);
}
});
return names;