So for example:<p>node --experimental-strip-types ./src/example.ts<p>It will now be:<p>node ./src/example.ts<p>Some good reads:<p>- <a href="https://nodejs.org/en/learn/typescript/run-natively" rel="nofollow">https://nodejs.org/en/learn/typescript/run-natively</a><p>- <a href="https://nodejs.org/api/cli.html#--experimental-strip-types" rel="nofollow">https://nodejs.org/api/cli.html#--experimental-strip-types</a>
> By default Node.js will execute only files that contain no TypeScript features that require transformation, such as enums or namespaces.<p>There is a further switch, not yet switched on by default, that performs these transformations.