Node can run .ts files, so why use tsc to transpile to .js? : <p>The following works on node version 12</p>

<pre><code>node hello.ts
</code></pre>

<p>What is the point of installing </p>

<pre><code> npm install -g typescript
</code></pre>

<p>And then doing</p>

<pre><code>tsc hello.ts
</code></pre>

<p>To obtain hello.js and then do</p>

<pre><code>node hello.js
</code></pre>

<p>Is there a difference between the two? I have only tested this with minimal code. Is there a fundamentally different implementation inside node that transpiles to javascript compared to what tsc does?</p>

<p>Thank you</p>
