TypeScript/tests/baselines/reference/MemberFunctionDeclaration7_es6.js

13 lines
229 B
TypeScript

//// [MemberFunctionDeclaration7_es6.ts]
class C {
*foo<T>() { }
}
//// [MemberFunctionDeclaration7_es6.js]
var C = (function () {
function C() {
}
C.prototype.foo = function () { };
return C;
})();