mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-14 19:16:17 -06:00
Fixes source map emit for synthetic constructors
This commit is contained in:
parent
9e2ebf6453
commit
6b1f8525d9
@ -751,7 +751,7 @@ namespace ts {
|
||||
createConstructor(
|
||||
parameters,
|
||||
body,
|
||||
/*location*/ constructor
|
||||
/*location*/ constructor || node
|
||||
),
|
||||
constructor
|
||||
)
|
||||
@ -846,7 +846,7 @@ namespace ts {
|
||||
createBlock(
|
||||
createNodeArray(
|
||||
statements,
|
||||
/*location*/ constructor ? constructor.body.statements : undefined
|
||||
/*location*/ constructor ? constructor.body.statements : node.members
|
||||
),
|
||||
/*location*/ constructor ? constructor.body : undefined
|
||||
),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user