title: ng test fail after adding 'ng2-dateime '
body: <p>I have added <a href="https://github.com/nkalinov/ng2-datetime" rel="nofollow noreferrer">ng2-datetime</a> module in my Angular 4 project.</p>
  
  <p>Now problem I am facing with ng test.</p>
  
  <p>Currently it throws error like below.</p>
  
  <pre><code>'Cannot find name 'jQuery'
  'Cannot find name '$'
  </code></pre>
  
  <p>EDIT:</p>
  
  <p>I did tried same way as most of answer below which is adding below lines in <strong>typings.d.ts</strong></p>
  
  <pre><code>declare var jQuery: any;
  declare var $: any;
  </code></pre>
  
  <p>this will start 'ng test' but it will throw error while making build using <strong>ng build --prod</strong>.</p>
  
  <pre><code>Cannot redeclare block-scoped variable 'jQuery'
  Cannot redeclare block-scoped variable '$'
  </code></pre>
  
  <p>TIA</p>