title: Import json in typescript
body: <p>I am new to typescript.In my project we are using typescript2, In one of my requirement i need to import json file. so i have created .d.ts file as follows</p>
  
  <pre><code> test.d.ts
  declare module "*.json" {
      const value: any;
      export default value;
  }
  </code></pre>
  
  <p>i have included this definition in my tsconfig.json and importing to my ts file as follows</p>
  
  <pre><code>  test.ts
  //&lt;refrence path="./test.json"/&gt;
  import * as data from './test.json';
  </code></pre>
  
  <p>when i am building my code i am getting following error</p>
  
  <pre><code>Cannot find module './test.json'
  </code></pre>
  
  <p>Note:- i don't want to use Requirejs</p>
  
  <p>Thanks</p>