update getComponents typing

This commit is contained in:
Marc-Roig 2022-08-26 14:25:11 +02:00
parent 4efd991865
commit 84352c1e88

View File

@ -104,7 +104,7 @@ const createComponents = async (uid, data) => {
/**
* @param {str} uid
* @param {object} entity
* @return {Promise<{uid: string, data: object}[]>}
* @return {Promise<{uid: string, entity: object}[]>}
*/
const getComponents = async (uid, entity) => {
const componentAttributes = getComponentAttributes(strapi.getModel(uid));