TypeScript/tests/baselines/reference/classAbstractMethodWithImplementation.js

13 lines
257 B
TypeScript
Raw Normal View History

2015-06-20 00:45:18 +02:00
//// [classAbstractMethodWithImplementation.ts]
abstract class A {
abstract foo() {}
}
//// [classAbstractMethodWithImplementation.js]
var A = (function () {
function A() {
}
A.prototype.foo = function () { };
return A;
})();