你是少见多怪
这个是TypeScript编译出来的标准写法
module test {
class BaseActivity {
}
class SimpleActivity extends BaseActivity {
constructor() {
super();
}
}
}
var test;
(function (test) {
var BaseActivity = (function () {
function BaseActivity() {
}
return BaseActivity;
}());
var SimpleActivity = (function (_super) {
__extends(SimpleActivity, _super);
function SimpleActivity() {
_super.call(this);
}
return SimpleActivity;
}(BaseActivity));
})(test || (test = {}));
【 在 queez 的大作中提到: 】
: A.SimpleActivity = (function(_super){
: ......
: })(A.BaseActivity);
: ...................
--
FROM 130.102.82.*