mirror of
https://github.com/outline/outline.git
synced 2026-06-13 03:14:59 +03:00
fix type issue
This commit is contained in:
@@ -357,7 +357,7 @@ class User extends ParanoidModel<
|
||||
*/
|
||||
public setNotificationEventType = (
|
||||
type: NotificationEventType,
|
||||
value: boolean | Record<NotificationChannelType, boolean>,
|
||||
value: boolean | Record<NotificationChannelType, boolean> = true,
|
||||
channel?: NotificationChannelType
|
||||
) => {
|
||||
if (channel !== undefined) {
|
||||
|
||||
Reference in New Issue
Block a user