constructor(param, config) {
    super();

    /** @type {ValidatorParam} */
    this.__param = param;
    /** @type {ValidatorConfig} */
    this.__config = config || {};
    /**
     * Default type supported by ValidateMixin
     * @type {ValidationType}
     */
    this.type = config?.type || 'error';
    /**
     * Disable dot notation to avoid the renaming for the prop during build/minification
     */
  }
@param {ValidatorParam} [param]
@param {ValidatorConfig} [config]