1
0
mirror of https://github.com/flarum/core.git synced 2025-07-18 23:31:17 +02:00

Fix jsdoc for notification types

This commit is contained in:
Clark Winkelmann
2018-02-09 02:53:05 +01:00
parent 982cbe4b49
commit e0b7182908

View File

@@ -31,7 +31,7 @@ export default class NotificationGrid extends Component {
/** /**
* Information about the available notification types. * Information about the available notification types.
* *
* @type {Object} * @type {Array}
*/ */
this.types = this.notificationTypes().toArray(); this.types = this.notificationTypes().toArray();
@@ -196,6 +196,7 @@ export default class NotificationGrid extends Component {
* Each notification type is an object which has the following properties: * Each notification type is an object which has the following properties:
* *
* - `name` The name of the notification type. * - `name` The name of the notification type.
* - `icon` The icon to display in the notification grid row.
* - `label` The label to display in the notification grid row. * - `label` The label to display in the notification grid row.
* *
* @return {ItemList} * @return {ItemList}