28 lines
329 B
JavaScript
28 lines
329 B
JavaScript
|
//// [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;
|
||
|
})();
|
||
|
//# sourceMappingURL=es5-amd.js.map
|
||
|
|
||
|
//// [es5-amd.d.ts]
|