title: Import json file in typescript Angular 5
body: <p>I am trying to import json file in typescript class like that </p>
  
  <pre><code>import * as nationalities from './mock/nationalities.json';
  </code></pre>
  
  <p>and it gives me an error </p>
  
  <blockquote>
    <p>Cannot find module './mock/nationalities.json'.</p>
  </blockquote>
  
  <p>and to solve this issue I added this </p>
  
  <pre><code>declare module '*.json' {
    const value: any;
    export default value;
  }
  </code></pre>
  
  <p>but it doesn't solve my issue and also  gives my another error exception </p>
  
  <blockquote>
    <p>Invalid module name in augmentation, module '*.json' cannot be found.</p>
  </blockquote>
  
  <p>My Typescript version </p>
  
  <blockquote>
    <p>2.9.2 </p>
  </blockquote>