diff --git a/tests/baselines/reference/typeGuardFunctionOfFormThis.js b/tests/baselines/reference/typeGuardFunctionOfFormThis.js index c1c670e8d7d..0d1dceccede 100644 --- a/tests/baselines/reference/typeGuardFunctionOfFormThis.js +++ b/tests/baselines/reference/typeGuardFunctionOfFormThis.js @@ -157,7 +157,7 @@ var RoyalGuard = (function () { return this instanceof FollowerGuard; }; return RoyalGuard; -})(); +}()); var LeadGuard = (function (_super) { __extends(LeadGuard, _super); function LeadGuard() { @@ -166,7 +166,7 @@ var LeadGuard = (function (_super) { LeadGuard.prototype.lead = function () { }; ; return LeadGuard; -})(RoyalGuard); +}(RoyalGuard)); var FollowerGuard = (function (_super) { __extends(FollowerGuard, _super); function FollowerGuard() { @@ -175,7 +175,7 @@ var FollowerGuard = (function (_super) { FollowerGuard.prototype.follow = function () { }; ; return FollowerGuard; -})(RoyalGuard); +}(RoyalGuard)); var a = new FollowerGuard(); if (a.isLeader()) { a.lead(); @@ -220,7 +220,7 @@ var ArrowGuard = (function () { }; } return ArrowGuard; -})(); +}()); var ArrowElite = (function (_super) { __extends(ArrowElite, _super); function ArrowElite() { @@ -228,7 +228,7 @@ var ArrowElite = (function (_super) { } ArrowElite.prototype.defend = function () { }; return ArrowElite; -})(ArrowGuard); +}(ArrowGuard)); var ArrowMedic = (function (_super) { __extends(ArrowMedic, _super); function ArrowMedic() { @@ -236,7 +236,7 @@ var ArrowMedic = (function (_super) { } ArrowMedic.prototype.heal = function () { }; return ArrowMedic; -})(ArrowGuard); +}(ArrowGuard)); var guard = new ArrowGuard(); if (guard.isElite()) { guard.defend(); @@ -262,7 +262,7 @@ var MimicGuard = (function () { MimicGuard.prototype.isFollower = function () { return this instanceof MimicFollower; }; ; return MimicGuard; -})(); +}()); var MimicLeader = (function (_super) { __extends(MimicLeader, _super); function MimicLeader() { @@ -270,7 +270,7 @@ var MimicLeader = (function (_super) { } MimicLeader.prototype.lead = function () { }; return MimicLeader; -})(MimicGuard); +}(MimicGuard)); var MimicFollower = (function (_super) { __extends(MimicFollower, _super); function MimicFollower() { @@ -278,7 +278,7 @@ var MimicFollower = (function (_super) { } MimicFollower.prototype.follow = function () { }; return MimicFollower; -})(MimicGuard); +}(MimicGuard)); var mimic = new MimicGuard(); a.isLeader = mimic.isLeader; a.isFollower = mimic.isFollower; diff --git a/tests/baselines/reference/typeGuardFunctionOfFormThisErrors.js b/tests/baselines/reference/typeGuardFunctionOfFormThisErrors.js index 0495e3cd773..73622bf60cc 100644 --- a/tests/baselines/reference/typeGuardFunctionOfFormThisErrors.js +++ b/tests/baselines/reference/typeGuardFunctionOfFormThisErrors.js @@ -75,7 +75,7 @@ var RoyalGuard = (function () { return this instanceof FollowerGuard; }; return RoyalGuard; -})(); +}()); var LeadGuard = (function (_super) { __extends(LeadGuard, _super); function LeadGuard() { @@ -84,7 +84,7 @@ var LeadGuard = (function (_super) { LeadGuard.prototype.lead = function () { }; ; return LeadGuard; -})(RoyalGuard); +}(RoyalGuard)); var FollowerGuard = (function (_super) { __extends(FollowerGuard, _super); function FollowerGuard() { @@ -93,7 +93,7 @@ var FollowerGuard = (function (_super) { FollowerGuard.prototype.follow = function () { }; ; return FollowerGuard; -})(RoyalGuard); +}(RoyalGuard)); var a = new FollowerGuard(); var b = new LeadGuard(); // Mismatched guards shouldn't be assignable diff --git a/tests/baselines/reference/typeGuardOfFormThisMember.js b/tests/baselines/reference/typeGuardOfFormThisMember.js index 8cb5b89aa90..2f983d2cdf8 100644 --- a/tests/baselines/reference/typeGuardOfFormThisMember.js +++ b/tests/baselines/reference/typeGuardOfFormThisMember.js @@ -113,7 +113,7 @@ var Test; configurable: true }); return FileSystemObject; - })(); + }()); Test.FileSystemObject = FileSystemObject; var File = (function (_super) { __extends(File, _super); @@ -122,7 +122,7 @@ var Test; this.content = content; } return File; - })(FileSystemObject); + }(FileSystemObject)); Test.File = File; var Directory = (function (_super) { __extends(Directory, _super); @@ -130,7 +130,7 @@ var Test; _super.apply(this, arguments); } return Directory; - })(FileSystemObject); + }(FileSystemObject)); Test.Directory = Directory; var file = new File("foo/bar.txt", "foo"); file.isNetworked = false; diff --git a/tests/baselines/reference/typeGuardOfFormThisMemberErrors.js b/tests/baselines/reference/typeGuardOfFormThisMemberErrors.js index e6b2f556621..6f681ab09cf 100644 --- a/tests/baselines/reference/typeGuardOfFormThisMemberErrors.js +++ b/tests/baselines/reference/typeGuardOfFormThisMemberErrors.js @@ -63,7 +63,7 @@ var Test; configurable: true }); return FileSystemObject; - })(); + }()); Test.FileSystemObject = FileSystemObject; var File = (function (_super) { __extends(File, _super); @@ -72,7 +72,7 @@ var Test; this.content = content; } return File; - })(FileSystemObject); + }(FileSystemObject)); Test.File = File; var Directory = (function (_super) { __extends(Directory, _super); @@ -80,7 +80,7 @@ var Test; _super.apply(this, arguments); } return Directory; - })(FileSystemObject); + }(FileSystemObject)); Test.Directory = Directory; var file = new File("foo/bar.txt", "foo"); file.isNetworked = file.isFile;