So when importing an external module like so
import GameObjects = module(\"GameObjects\")
the outputed JS has this at the top of the file:<
External modules require a module loader to be present. If you run this in your browser you have to take care of including a module loader yourself. Please take a look at require.js, it has all the documentation that's needed to get the module loader running.
If you want to use the built-in Microsoft solution, then replace your import
with Triple Slashes.
So instead of import GameObjects = module("GameObjects")
, you do /// <reference path="./Gameobjects.ts" />
at the top of the file.