We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f21c48 commit d08f44cCopy full SHA for d08f44c
1 file changed
next.dynamic.mjs
@@ -79,7 +79,7 @@ const getDynamicRouter = async () => {
79
* This method returns a list of all routes that exist for a given locale
80
*
81
* @param {string} locale
82
- * @returns {Array<string>}
+ * @returns {Promise<Array<string>>}
83
*/
84
const getRoutesByLanguage = async (locale = defaultLocale.code) => {
85
const shouldIgnoreStaticRoute = pathname =>
@@ -187,7 +187,7 @@ const getDynamicRouter = async () => {
187
188
189
* @param {string} path
190
- * @returns {import('next').Metadata}
+ * @returns {Promise<import('next').Metadata>}
191
192
const _getPageMetadata = async (locale = defaultLocale.code, path = '') => {
193
const pageMetadata = { ...PAGE_METADATA };
0 commit comments