lib/builder/type-builder.js
function inheritsTlSchema(constructor, superTlSchema) {
    var NewType = buildType('abstract', superTlSchema);
    util.inherits(constructor, NewType);
    constructor.s_ = NewType;
    constructor.super_ = NewType.super_;
    constructor.util = NewType.util;
    constructor.requireTypeByName = NewType.requireTypeByName;
    constructor.requireTypeFromBuffer = NewType.requireTypeFromBuffer;
    constructor.logger = NewType.logger;
}
function inheritsTlSchema(constructor, superTlSchema) {
    var NewType = buildType('abstract', superTlSchema);
    util.inherits(constructor, NewType);
    constructor.s_ = NewType;
    constructor.super_ = NewType.super_;
    constructor.util = NewType.util;
    constructor.requireTypeByName = NewType.requireTypeByName;
    constructor.requireTypeFromBuffer = NewType.requireTypeFromBuffer;
    constructor.logger = NewType.logger;
}
function inheritsTlSchema ( constructor , superTlSchema ) { var NewType = buildType ( 'abstract' , superTlSchema ) ; util . inherits ( constructor , NewType ) ; constructor . s_ = NewType ; constructor . super_ = NewType . super_ ; constructor . util = NewType . util ; constructor . requireTypeByName = NewType . requireTypeByName ; constructor . requireTypeFromBuffer = NewType . requireTypeFromBuffer ; constructor . logger = NewType . logger ; }
Extend the 'constructor' with the Type generated by the 'superTLSchema'
Extend the constructor with the Type generated by the superTLSchema