Skip to content

Commit 2c22989

Browse files
committed
Revert "Make sure impliedNodeFormat is set for the sourceFile"
This reverts commit 651a47f.
1 parent 651a47f commit 2c22989

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/compiler/program.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1734,7 +1734,6 @@ namespace ts {
17341734
if (!newSourceFile) {
17351735
return StructureIsReused.Not;
17361736
}
1737-
newSourceFile.impliedNodeFormat = sourceFileOptions.impliedNodeFormat;
17381737
newSourceFile.packageJsonLocations = sourceFileOptions.packageJsonLocations?.length ? sourceFileOptions.packageJsonLocations : undefined;
17391738
newSourceFile.packageJsonScope = sourceFileOptions.packageJsonScope;
17401739

@@ -2969,7 +2968,6 @@ namespace ts {
29692968
file.path = path;
29702969
file.resolvedPath = toPath(fileName);
29712970
file.originalFileName = originalFileName;
2972-
file.impliedNodeFormat = sourceFileOptions.impliedNodeFormat;
29732971
file.packageJsonLocations = sourceFileOptions.packageJsonLocations?.length ? sourceFileOptions.packageJsonLocations : undefined;
29742972
file.packageJsonScope = sourceFileOptions.packageJsonScope;
29752973
addFileIncludeReason(file, reason);

0 commit comments

Comments
 (0)