File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1734,6 +1734,7 @@ namespace ts {
1734
1734
if ( ! newSourceFile ) {
1735
1735
return StructureIsReused . Not ;
1736
1736
}
1737
+ newSourceFile . impliedNodeFormat = sourceFileOptions . impliedNodeFormat ;
1737
1738
newSourceFile . packageJsonLocations = sourceFileOptions . packageJsonLocations ?. length ? sourceFileOptions . packageJsonLocations : undefined ;
1738
1739
newSourceFile . packageJsonScope = sourceFileOptions . packageJsonScope ;
1739
1740
@@ -2968,6 +2969,7 @@ namespace ts {
2968
2969
file . path = path ;
2969
2970
file . resolvedPath = toPath ( fileName ) ;
2970
2971
file . originalFileName = originalFileName ;
2972
+ file . impliedNodeFormat = sourceFileOptions . impliedNodeFormat ;
2971
2973
file . packageJsonLocations = sourceFileOptions . packageJsonLocations ?. length ? sourceFileOptions . packageJsonLocations : undefined ;
2972
2974
file . packageJsonScope = sourceFileOptions . packageJsonScope ;
2973
2975
addFileIncludeReason ( file , reason ) ;
You can’t perform that action at this time.
0 commit comments