mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Include *.json in the root files if they are specified as root (#34676)
Fixes #33827
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user