Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit 15a9f10

Browse files
committed
Fix jsdocs
1 parent 6fb95eb commit 15a9f10

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

api/frontend/connector.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ export function createFeApolloClient() {
2929
* Init Apollo for Frontend API and merge with initial state.
3030
*
3131
* @author WebDevStudios
32-
* @param {mixed} initialState Initial Apollo state.
33-
* @return {object} Frontend Apollo client instance.
32+
* @param {*} initialState Initial Apollo state.
33+
* @return {object} Frontend Apollo client instance.
3434
*/
3535
export function initializeFeApollo(initialState = null) {
3636
// Only run one instance of the Apollo client.

api/frontend/wp/archive/getArchivePosts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import {initializeFeApollo} from '../../connector'
66
*
77
* @author WebDevStudios
88
* @param {string} postType WP post type.
9+
* @param {string} cursor Start cursor for pagination.
910
* @param {string} orderBy Order by: field.
1011
* @param {string} order Order by: direction.
11-
* @param {string} cursor Start cursor for pagination.
1212
* @return {object} Archive post and pagination data or error object.
1313
*/
1414
export default async function getArchivePosts(

0 commit comments

Comments
 (0)