title: json file not recognised in typescript
body: <p>I am writing a protractor testfile which has to get data from json 
     file(<code>data.json</code>) like this</p>
  
  <pre><code>{
     "url":"https://example.com/login",
     "email":"nov@example.uk",
     "password":"uhi",
     "text_name":"random"
  }
  </code></pre>
  
  <p>The protractor test file is </p>
  
  <pre><code>   'use strict';
     import { browser, element, by, protractor, $$, $ } from protractor
     import { Classtext } from "../pages/MainPage";
     var datatest = require('../utility/resource/data.json');
     describe('', function () {  
     var object1 = new Classtext();    
     it('load url', function () {       
     welcom.openBrowser("https://example.com");
     });
     });
  </code></pre>
  
  <p>when I compile, I get this error.</p>
  
  <pre><code> [13:37:22] E/launcher - Error: Error: Cannot find module 
     '../utility/resource/data.json'
  </code></pre>
  
  <p>Here data.json path is correct.</p>