code: function standardizeConfig(r) {
      var children = r.children && r.children.map(standardizeConfig);
      var c = children ? Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__assign"])({}, r, { children: children }) : Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__assign"])({}, r);
      if (!c.component && (children || c.loadChildren) && (c.outlet && c.outlet !== PRIMARY_OUTLET)) {
          c.component = EmptyOutletComponent;
      }
      return c;
  }
docs: Makes a copy of the config and adds any default required properties.