code: function afterExtends (klass, baseKlass, superFunc) {
      var newKlass = createNamedClass(klass.name, klass, baseKlass, superFunc);
      newKlass.prototype = createPrototype(klass, baseKlass, newKlass);
      
      return newKlass;
  }
docs: TypeScript extends later