urish / ngx-moment

moment.js pipes for Angular
MIT License
1.17k stars 154 forks source link

i get warnings about pipes not being found despite importing everything #246

Closed beppe9000 closed 3 years ago

beppe9000 commented 3 years ago

it is a problem similar to #207 which may have been closed without a proper solution. the key difference for me is that it is compiled successfully and works in browser, but visual studio code complains. is there a way to suppress the warning or solve it ? image

vadimwe commented 3 years ago

Did you import MomentModule in your component module?

beppe9000 commented 3 years ago

in the end i fixed this by refreshing node_modules folder but i don't think it was the only factor