Skip to content

Commit bfa6a27

Browse files
docs(addon/components/paper-grid-list): fixes mislabelled param types.
1 parent 1207399 commit bfa6a27

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

addon/components/paper-grid-list.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default class PaperGridList extends Component {
5757
@tracked children;
5858
/**
5959
* Set of callbacks to notify children when they need to update their position.
60-
* @type {Set<callback>}
60+
* @type {Set<Function>}
6161
*/
6262
@tracked childrenNotifyUpdate;
6363
/**
@@ -115,7 +115,7 @@ export default class PaperGridList extends Component {
115115
/**
116116
* Registers a child tile component
117117
* @param {PaperGridTile} tile - The tile component to register
118-
* @param {callback} notifyUpdate - A callback to notify children on when they should update.
118+
* @param {Function} notifyUpdate - A callback to notify children on when they should update.
119119
*/
120120
@action registerChild(tile, notifyUpdate) {
121121
this.children.add(tile);
@@ -126,7 +126,7 @@ export default class PaperGridList extends Component {
126126
/**
127127
* Unregisters a child tile component
128128
* @param {PaperGridTile} tile - The tile component to unregister
129-
* @param {callback} notifyUpdate - The notify callback to remove.
129+
* @param {Function} notifyUpdate - The notify callback to remove.
130130
*/
131131
@action unregisterChild(tile, notifyUpdate) {
132132
this.children.delete(tile);

0 commit comments

Comments
 (0)