mirror of
https://github.com/flarum/framework.git
synced 2024-11-24 12:35:44 +08:00
Fix jsdoc for notification types
This commit is contained in:
parent
ff10ed0ea9
commit
a53d95a3d9
|
@ -31,7 +31,7 @@ export default class NotificationGrid extends Component {
|
|||
/**
|
||||
* Information about the available notification types.
|
||||
*
|
||||
* @type {Object}
|
||||
* @type {Array}
|
||||
*/
|
||||
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:
|
||||
*
|
||||
* - `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.
|
||||
*
|
||||
* @return {ItemList}
|
||||
|
|
Loading…
Reference in New Issue
Block a user