diff --git a/src/isomorphic/constructRoutes.js b/src/isomorphic/constructRoutes.js index 66df6cc..97c6df4 100644 --- a/src/isomorphic/constructRoutes.js +++ b/src/isomorphic/constructRoutes.js @@ -70,10 +70,10 @@ export const MISSING_PROP = typeof Symbol !== "undefined" ? Symbol() : "@"; * }} Application * * @typedef {{ - * loaders: { + * loaders?: { * [key: string]: any; * }, - * props: { + * props?: { * [key: string]: any; * }, * errors?: { @@ -82,7 +82,7 @@ export const MISSING_PROP = typeof Symbol !== "undefined" ? Symbol() : "@"; * }} HTMLLayoutData * * @param {RoutesConfig} routesConfig - * @param {HTMLLayoutData=} htmlLayoutData + * @param {HTMLLayoutData} htmlLayoutData * @returns {ResolvedRoutesConfig} */ export function constructRoutes(routesConfig, htmlLayoutData) {