define a new custom element model class

  • Parameters

    Returns (
        constructor: any,
        context: ClassDecoratorContext<new (...args: any) => any>,
    ) => any