Skip to content

Commit

Permalink
docs: update jsdoc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod committed Jul 6, 2021
1 parent 0fda8b2 commit 6908582
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/sketch/src/sharedStyles/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -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<SharedStyle|Swatch>}
*/
export function syncColors({ document, formatFor }) {
Expand Down
2 changes: 1 addition & 1 deletion packages/sketch/src/tools/sharedStyles.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) {
Expand Down

0 comments on commit 6908582

Please sign in to comment.