From 2c22989bd55498eac882548b254ea04f58baeac3 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Mon, 31 Oct 2022 10:22:35 -0700 Subject: [PATCH] Revert "Make sure impliedNodeFormat is set for the sourceFile" This reverts commit 651a47fdd6ea200e59fdf150dfa913230a86653a. --- src/compiler/program.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/compiler/program.ts b/src/compiler/program.ts index e536111a489..74abd84b436 100644 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -1734,7 +1734,6 @@ namespace ts { if (!newSourceFile) { return StructureIsReused.Not; } - newSourceFile.impliedNodeFormat = sourceFileOptions.impliedNodeFormat; newSourceFile.packageJsonLocations = sourceFileOptions.packageJsonLocations?.length ? sourceFileOptions.packageJsonLocations : undefined; newSourceFile.packageJsonScope = sourceFileOptions.packageJsonScope; @@ -2969,7 +2968,6 @@ namespace ts { file.path = path; file.resolvedPath = toPath(fileName); file.originalFileName = originalFileName; - file.impliedNodeFormat = sourceFileOptions.impliedNodeFormat; file.packageJsonLocations = sourceFileOptions.packageJsonLocations?.length ? sourceFileOptions.packageJsonLocations : undefined; file.packageJsonScope = sourceFileOptions.packageJsonScope; addFileIncludeReason(file, reason);