Skip to content

HAMUR_E6808: Notification options the build cannot read

Notification options the build cannot read. Error HAMUR_E6808 belongs to @hamur/notifications (6801 – 6900).

Message

text
HAMUR_E6808 <file>: the options of defineNotification are written out (the build reads them)

Cause

The build reads a notification's channels from the keys of its options without running the file, and a spread or a computed key hides them.

Fix

Write each channel as a key of the object.