Current behaviour
The createSuccessToast method under NotificationService generates the following error on the browser console every time it is called:

However, the notification works correctly on the screen even with this error being generated.
Example usage
Expected behaviour
No error should be generated in the console.
Questions to address (if any)
The error might be related to this issue:
angular/components#10679 (comment)