title: What is a "global script file" in Typescript?
body: <blockquote>
  <p>hello-world.ts(4,1): error TS1208: 'hello-world.ts' cannot be compiled under '--
  isolatedModules' because it is considered a global
  script file. Add an import, export, or an empty 'export {}' statement
  to make it a module.</p>
  </blockquote>
  <p>I hadn't added the export keyword in front of the function. That was the reason of this error.</p>
  <p>Here I want to understand the &quot;meaning&quot; of this error message.<br />
  It mentions &quot;global script file&quot;.<br />
  What does that mean?</p>