angular2-simple-countdown
angular2-simple-countdown copied to clipboard
Importing error with angular 5 prod build
I am importing the module like -
app.module.ts
`import {CountDown} from 'ng4-date-countdown-timer';`
declarations: [
.. ,
CountDown
]
While running the ng build --prod command it is giving me the following error -
ERROR in : Unexpected value 'CountDown in /home/jayanth/Documents/Workspace/sozial-front/node_modules/ng4-date-countdown-timer/dist/countdown.d.ts' declared by the module 'AppModule in /home/jayanth/Documents/Workspace/sozial-front/src/app/app.module.ts'. Please add a @Pipe/@Directive/@Component annotation.
^
I have the same problem when build for production
Same problem. No solution after more than a year?