From 9805f0fc5af325998380896184dba4f9357244f4 Mon Sep 17 00:00:00 2001 From: Doma Date: Sat, 30 Sep 2023 22:52:49 +0800 Subject: [PATCH] Add `errors` property to description of `constructRoutes` function's `layoutData` argument --- versioned_docs/version-5.x/layout-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versioned_docs/version-5.x/layout-api.md b/versioned_docs/version-5.x/layout-api.md index 8ea20b9d6..3faa77213 100644 --- a/versioned_docs/version-5.x/layout-api.md +++ b/versioned_docs/version-5.x/layout-api.md @@ -36,7 +36,7 @@ const resolvedRoutes = constructRoutes(htmlTemplate, layoutData) **Arguments** - `routesConfig` (required): Routes config is a [JSON Layout Definition](/docs/layout-definition/#json-layouts), an [HTMLElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement), or a [parse5 HTML element](https://github.com/inikulin/parse5). If it is an HTMLElement, it must be a `` element or a `