Skip to content

HAMUR_E6802: A notification file without defineNotification

A notification file without defineNotification. Error HAMUR_E6802 belongs to @hamur/notifications (6801 – 6900).

Message

text
HAMUR_E6802 <file> must default-export defineNotification({ ... })

Cause

A file of server/notifications/ does not export a notification as its default export.

Fix

Export defineNotification({ ... }) as the default, or start the file's name with _ if it is a helper.