TypeScript/tests/baselines/reference/es5-amd.js
2015-12-08 17:51:10 -08:00

25 lines
269 B
TypeScript

//// [es5-amd.ts]
class A
{
constructor ()
{
}
public B()
{
return 42;
}
}
//// [es5-amd.js]
var A = (function () {
function A() {
}
A.prototype.B = function () {
return 42;
};
return A;
}());