@taiga-ui/addon-doc 2.47.0 → 2.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1898,7 +1898,7 @@
1898
1898
  .map(function (page) { return ('subPages' in page ? page.subPages : [page]); })
1899
1899
  .reduce(function (pages, subPages) { return __spread(pages, subPages); }, [])
1900
1900
  .find(function (page) { return page.title === pageTitle; });
1901
- if (page && page.route) {
1901
+ if (page === null || page === void 0 ? void 0 : page.route) {
1902
1902
  return page.route;
1903
1903
  }
1904
1904
  }