Skip to content

Explicitly assign properties/fields in constructor of Supertype #7

@sshankar19

Description

@sshankar19
constructor(objectTemplate = ObjectTemplate) {
    var template = this.__template__;
    if (!template) {
        throw new Error(constructorName(Object.getPrototypeOf(this).constructor) + ' missing @supertypeClass');
    }

....
//@todo: fill the properties of 'this' in? do I need this after deleting the callerContext approach

    return this;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions