diff --git a/packages/sketch/src/sharedStyles/colors.js b/packages/sketch/src/sharedStyles/colors.js index 4a08cb727555..5e674f4fa920 100644 --- a/packages/sketch/src/sharedStyles/colors.js +++ b/packages/sketch/src/sharedStyles/colors.js @@ -47,6 +47,8 @@ function formatColorName({ name, grade, formatFor }) { * the result * @param {object} params - syncColors parameters * @param {Document} params.document + * @param {string} params.formatFor - one of 'colorVariable' or + * 'sharedLayerStyle' * @returns {Array} */ export function syncColors({ document, formatFor }) { diff --git a/packages/sketch/src/tools/sharedStyles.js b/packages/sketch/src/tools/sharedStyles.js index 55b6d0d32adc..048502d6b454 100644 --- a/packages/sketch/src/tools/sharedStyles.js +++ b/packages/sketch/src/tools/sharedStyles.js @@ -81,7 +81,7 @@ export function syncSharedStyle({ * @param {object} params - syncColorStyle parameters * @param {Document} params.document * @param {string} params.name - * @param {string} params.value + * @param {string} params.color * @returns {SharedStyle} */ export function syncColorStyle({ document, name, color }) {