File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ const getDynamicRouter = async () => {
7979 * This method returns a list of all routes that exist for a given locale
8080 *
8181 * @param {string } locale
82- * @returns {Array<string> }
82+ * @returns {Promise< Array<string> > }
8383 */
8484 const getRoutesByLanguage = async ( locale = defaultLocale . code ) => {
8585 const shouldIgnoreStaticRoute = pathname =>
@@ -187,7 +187,7 @@ const getDynamicRouter = async () => {
187187 *
188188 * @param {string } locale
189189 * @param {string } path
190- * @returns {import('next').Metadata }
190+ * @returns {Promise< import('next').Metadata> }
191191 */
192192 const _getPageMetadata = async ( locale = defaultLocale . code , path = '' ) => {
193193 const pageMetadata = { ...PAGE_METADATA } ;
You can’t perform that action at this time.
0 commit comments