Skip to content

Commit

Permalink
fix: improve a code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cindyli committed Feb 1, 2024
1 parent 1f73831 commit a1badc7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Palette.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ type PalettePropsType = {
* Given a palette defined in a json structure, compute the number of rows
* and columns in that palette.
*
* @param {Object} paletteDefinition - An object in the pre-defined type of
* `JsonPaletteType` that lists the positions, heights and
* widths of the cells in the palette.
* @param {JsonPaletteType} paletteDefinition - A JSON palette object that
* lists the positions, heights and widths of the cells in the palette.
* @return {Object} - The row and column counts: `{ numRows: ..., numColumns: ...}`.
*/
function countRowsColumns (paletteDefinition: JsonPaletteType) {
Expand Down

0 comments on commit a1badc7

Please sign in to comment.