Fix #4840: Alias class prototype for methods in loose mode (#5560)

* Fix #4840: Alias class prototype for methods in loose mode

* Cleanup
This commit is contained in:
Oliver Don
2017-08-27 02:15:45 +01:00
committed by Justin Ridgewell
parent d8b4073536
commit 960151c876
10 changed files with 62 additions and 13 deletions

View File

@@ -4,7 +4,9 @@
var C = function () {
function C() {}
C.prototype.m = function m(x
var _proto = C.prototype;
_proto.m = function m(x
/*: number*/
)
/*: string*/
@@ -13,4 +15,4 @@ var C = function () {
};
return C;
}();
}();