Skip to content

Commit 701c42e

Browse files
committed
Allow for sync PageFunctions
1 parent 6a3c365 commit 701c42e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/build-pages/page-builders/page-writer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import { writeFile, mkdir } from 'fs/promises'
2929
* @param {PageInfo} params.page - Info about the current page
3030
* @param {PageData<T>[]} params.pages - An array of info about every page
3131
* @param {Object<string, string>} [params.workers] - Map of worker names to their output paths
32-
* @returns {Promise<any>} The rendered inner page thats compatible with its matched layout
32+
* @returns {Promise<any> | any} The rendered inner page thats compatible with its matched layout
3333
*/
3434

3535
/**

0 commit comments

Comments
 (0)