We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e2ebf6 commit 6b1f852Copy full SHA for 6b1f852
1 file changed
src/compiler/transformers/ts.ts
@@ -751,7 +751,7 @@ namespace ts {
751
createConstructor(
752
parameters,
753
body,
754
- /*location*/ constructor
+ /*location*/ constructor || node
755
),
756
constructor
757
)
@@ -846,7 +846,7 @@ namespace ts {
846
createBlock(
847
createNodeArray(
848
statements,
849
- /*location*/ constructor ? constructor.body.statements : undefined
+ /*location*/ constructor ? constructor.body.statements : node.members
850
851
/*location*/ constructor ? constructor.body : undefined
852
0 commit comments