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:
@@ -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}
|
||||||
|
Reference in New Issue
Block a user