Skip to content

Issue with Angular 4 and AoT #12

@DavidRouyer

Description

@DavidRouyer

I'm using the Angular-CLI (v1.0.0), I have successfully integrated angular-notifier but I get an error when I try to run ng build --prod --aot:

ERROR in ng:///D:/Documents/GitHub/hopfab/backoffice/node_modules/angular-notifier/src/components/notifier-container.com
ponent.d.ts.NotifierContainerComponent.html (2,9): Property 'notification' does not exist on type 'NotifierContainerComp
onent'.
ng:///D:/Documents/GitHub/hopfab/backoffice/node_modules/angular-notifier/src/components/notifier-container.component.d.
ts.NotifierContainerComponent.html (2,9): Property 'notification' does not exist on type 'NotifierContainerComponent'.

ERROR in ng:///D:/Documents/GitHub/hopfab/backoffice/node_modules/angular-notifier/src/components/notifier-container.com
ponent.d.ts.NotifierContainerComponent.html (2,9): Property 'notification' does not exist on type 'NotifierContainerComp
onent'.
ng:///D:/Documents/GitHub/hopfab/backoffice/node_modules/angular-notifier/src/components/notifier-container.component.d.
ts.NotifierContainerComponent.html (2,9): Property 'notification' does not exist on type 'NotifierContainerComponent'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugIndicates an unintended behaviour, unexpected problem, crash

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions