<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>TypeScript :: Jodoc</title>
    <link>//localhost:1313/programming/typescript/index.html</link>
    <description>Compilation Use tsc -w to compile a file, when its content changed, but it only compiles this one file even if build/ folder is empty. Alternatively you can compile with tsc.&#xA;Module Configuration&#xA;tsconfig.json::module should be “commonjs”. &lt;script src=&#34;build/main.js&#34; type=&#34;module&#34;&gt;&lt;/script&gt; CommonJS Export:&#xA;module.exports.myFunc = function() { return &#34;Hello World!&#34;; } Import:&#xA;const {myFunc} = require(&#39;./MyFunc&#39;) // Can be called anywhere (e.g. inside if statement) console.log(myFunc()) // &#34;Hello World!&#34; ES (ECMAScript) Export:&#xA;export function myFunc = { return &#34;Hello World!&#34;; } Import:</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate></lastBuildDate>
    <atom:link href="//localhost:1313/programming/typescript/index.xml" rel="self" type="application/rss+xml" />
  </channel>
</rss>