TypeScript/tests/baselines/reference/ClassDeclaration21.js
2014-07-12 17:30:19 -07:00

15 lines
213 B
JavaScript

//// [ClassDeclaration21.ts]
class C {
0();
1() { }
}
//// [ClassDeclaration21.js]
var C = (function () {
function C() {
}
C.prototype[1] = function () {
};
return C;
})();