I have added ng2-datetime module in my Angular 4 project.
Now problem I am facing with ng test.
Currently it throws error like below.
'Cannot find name 'jQuery'
'Cannot find name '$'
EDIT:
I did tried same way as most of answer below which is adding below lines in typings.d.ts
declare var jQuery: any;
declare var $: any;
this will start 'ng test' but it will throw error while making build using ng build --prod.
Cannot redeclare block-scoped variable 'jQuery'
Cannot redeclare block-scoped variable '$'
TIA