I setup global namespaces for my objects by explicitly setting a property on window.
window
window.MyNamespace = window.MyNamespace || {};
If you are using Typescript 3.x, you may be able to omit the declare global part in the other answers and instead just use:
declare global
interface Window { someValue: string another: boolean }
This worked with me when using Typescript 3.3, WebPack and TSLint.