TypeScript Version: 2.3.4
Code
class N {
q() {}
}
let x = new N().q.name
Expected behavior:
x should be "q"
Actual behavior:
x is ""
Problem
var N = (function () {
function N() {
}
N.prototype.q = function () { };
// ↑ should be N.proptotype.q = function q() {};
return N;
}());