MattJeanes / ngx-parallax

A parallax plugin/directive for Angular 2+. Learn more at:
http://cwadrupldijjit.com/ng2-parallax
MIT License
17 stars 5 forks source link

add @Directive annotation in parallax.directive.d.ts #2

Closed nasserghiasi closed 6 years ago

nasserghiasi commented 6 years ago

add @Directive annotation in parallax.directive.d.ts angular cli compiler error: ERROR in : Unexpected value 'Parallax in /path/node_modules/ngx-parallax/lib/parallax.directive.d.ts' declared by the module 'MainModule in /path/src/app/modules/main/main.module.ts'. Please add a @Pipe/@Directive/@Component annotation.

MattJeanes commented 6 years ago

Hello, I don't use angular cli so would you be able to post some quick instructions on how I would get this error? If you know how to fix it yourself a PR would be appreciated! Thanks

nasserghiasi commented 6 years ago

ok, I will send pull request