Create a global variable in TypeScript

In JavaScript I can just do this: something = 'testing'; And then in another file: if (something === 'testing') and it will have something be defined (as long as they were called in the correct...