Skip to content

Commit

Permalink
docs(addon/components/paper-grid-list): fixes mislabelled param types.
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhartstonge committed Nov 14, 2024
1 parent 9190d64 commit 0837a8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addon/components/paper-grid-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default class PaperGridList extends Component {
@tracked children;
/**
* Set of callbacks to notify children when they need to update their position.
* @type {Set<callback>}
* @type {Set<Function>}
*/
@tracked childrenNotifyUpdate;
/**
Expand Down Expand Up @@ -115,7 +115,7 @@ export default class PaperGridList extends Component {
/**
* Registers a child tile component
* @param {PaperGridTile} tile - The tile component to register
* @param {callback} notifyUpdate - A callback to notify children on when they should update.
* @param {Function} notifyUpdate - A callback to notify children on when they should update.
*/
@action registerChild(tile, notifyUpdate) {
this.children.add(tile);
Expand All @@ -126,7 +126,7 @@ export default class PaperGridList extends Component {
/**
* Unregisters a child tile component
* @param {PaperGridTile} tile - The tile component to unregister
* @param {callback} notifyUpdate - The notify callback to remove.
* @param {Function} notifyUpdate - The notify callback to remove.
*/
@action unregisterChild(tile, notifyUpdate) {
this.children.delete(tile);
Expand Down

0 comments on commit 0837a8c

Please sign in to comment.