Skip to content

Commit

Permalink
Update TSDoc block
Browse files Browse the repository at this point in the history
  • Loading branch information
davwheat committed Sep 3, 2021
1 parent e784f39 commit 2345641
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/src/common/utils/ItemList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,9 @@ export default class ItemList<T> {
* {@link ItemList.add}, {@link ItemList.setContent} and
* {@link ItemList.setPriority} methods instead.
*
* To match the old behaviour of the `ItemList.items` property, call
* `Object.values(ItemList.toObject())`.
*
* @example
* const items = new ItemList();
* items.add('b', 'My cool value', 20);
Expand Down

0 comments on commit 2345641

Please sign in to comment.