title: JHipster: Angular/TypeScript: console.log causes compile error
body: <p>Silly question, but...</p>
  
  <p>Playing around with JHipster 6.6.0, generated a simple monolithic application, started the application with <code>./gradlew</code> and <code>npm start</code>. Everything seems to work great.  Then I added a single line in the <code>src\main\webapp\app\home\home.component.ts</code> file <code>ngOnInit()</code> method:</p>
  
  <pre><code>console.log('Hello, world!');
  </code></pre>
  
  <p>And I get the following compile error:</p>
  
  <pre><code>ERROR in ./src/main/webapp/app/home/home.component.ts
  Module Error (from ./node_modules/thread-loader/dist/cjs.js):
  
  ..\src\main\webapp\app\home\home.component.ts
    22:5  error  Unexpected console statement  no-console
  
  ✖ 1 problem (1 error, 0 warnings)
  </code></pre>
  
  <p>Can't compile at all.  Only way to get around it is to remove the line altogether, then everything starts working again.</p>
  
  <p>Any ideas why?  Perhaps there's a config setting I should change?  [I tried adding <code>no-console: false</code> rule to <code>tslint.json</code>, but that didn't make any difference.]  Is there a preferred way to add angular/typescript debug statements in JHipster?  What am I missing?</p>
  
  <p>Thanks!</p>
  
  <p>[<em>FYI</em>: Development environment is: Windows 10 Pro; IntelliJ 2019.3.2; OpenJDK 13; Node 12.14.1; Gradle 6.0.1; Chrome v79.0.3945.130]</p>
  
  <p><strong>P.S.</strong>: I notice the Chrome console is quite busy when running the application, so clearly there must be a way to get messages into the console, but the usual <code>console.log()</code> statement causes a compiler fail!</p>