[Transforms] Fix 8157 (#8242)

* Use original text (e.g unicode) from source text when emit parameter-property declaration

* Update baseline
This commit is contained in:
Yui 2016-04-22 08:42:42 -07:00
parent 4119a3f5db
commit 5481259b69
2 changed files with 2 additions and 2 deletions

View file

@ -910,7 +910,7 @@ namespace ts {
createAssignment(
createPropertyAccess(
createThis(),
getSynthesizedClone(<Identifier>node.name),
getMutableClone(<Identifier>node.name),
/*location*/ node.name
),
getUniqueClone(<Identifier>node.name)

View file

@ -143,7 +143,7 @@ var moduleType1;
(function (moduleType1) {
})(moduleType1 || (moduleType1 = {}));
var moduleType\u0032;
(function (moduleType2) {
(function (moduleType\u0032) {
})(moduleType\u0032 || (moduleType\u0032 = {}));
moduleType1.baz1 = 3;
moduleType\u0031.baz1 = 3;